Compounds having the formula I, or a pharmaceutically acceptable salt thereof, wherein R1, R2, X1, X2, and Ar are as defined herein, are inhibitors of PAK1. Also disclosed are compositions and methods for treating cancer and hyperproliferative disorders.