A compound of Formula I: or a pharmaceutically acceptable salt thereof; wherein: X is N or CR 4; W is N or CR 6; Y is N or CR 7; R 1 is C 1-6 alkyl, C 1-6 haloalkyl, C 3-6 cycloalkyl, C 3-6 cycloalkyl-C 1-3 alkyl, 4-6 membered heterocycloalkyl, or 4-6 membered heterocycloalkyl-C 1-3 alkyl; wherein said C 1-6 alkyl, C 3-6 cycloalkyl, C 3-6 cycloalkyl-C 1-3 alkyl, 4-6 membered heterocycloalkyl, and 4-6 membered heterocycloalkyl-C 1-3 alkyl are each optionally substituted with 1, 2, or 3 substituents independently selected from fluoro, -OH, -O(C 1-3 alkyl), -CN, -CF 3, C 1-3 alkyl, -NH 2, -NH(C 1-3 alkyl), -N(C 1-3 alkyl) 2,-C N(C 1-3 alkyl) 2, -C NH(C 1-3 alkyl), -C NH 2, -C O(C 1-3 alkyl), -S 2 (C 1-3 alkyl), -S 2 (C 3-6 cycloalkyl), -C (C 3-6 cycloalkyl), and -C (C 1-3 alkyl); R 2 is H or C 1-3 alkyl; wherein said C 1-3 alkyl is optionally substituted by 1, 2, or 3 substituents independently selected from fluoro, -OH, -O(C 1-3 alkyl), -CN, -CF 3, NH 2, -NH(C 1-3 alkyl), and -N(C 1-3 alkyl) 2; or R 1 and R 2 together with the nitrogen atom to which they are attached form a 4-, 5- or 6-membered heterocycloalkyl ring; which is optionally substituted with 1, 2, or 3 substitutents independently selected from fluoro, -OH, -O(C 1-3 alkyl), -CN, C 1-3 alkyl, C 1-3 haloalkyl, -NH 2, -NH(C 1-3 alkyl), -N(C 1-3 alkyl) 2, and -CH 2 CN; R 3 is H, F, Cl, -CN, C 1-3 alkyl, -OCF 3, -CF 3, or -O(C 1-3 alkyl); R 4 is H, F, Cl, -CN, C 1-3 alkyl, or -O(C 1-3 alkyl); R 5 is H, F, Cl, -CN, C 1-3 alkyl, or -O(C 1-3 alkyl); R 6 is H, F, Cl, -CN, or C 1-3 alkyl; and R 7 is H, F, Cl, -CN, C 1-3 alkyl, -CH 2 CN, -C N(C 1-3 alkyl) 2, -C NH(C 1-3 alkyl), or -C NH 2. X is N or CR 4; W is N or CR 6; Y is N or CR 7; R 1 is C 1-6 alkyl, C 1-6 haloalkyl, C 3-6 cycloalkyl, C 3-6 cycloalkyl-C 1-3 alkyl, 4-6 membered heterocycloalkyl, or 4-6 membered heterocycloalkyl-C 1-3 alkyl; wherein said C 1-6 alkyl, C 3-6 cycloalkyl, C 3-6 cycloalkyl-C 1-3 alkyl, 4-6 membered heterocycloalkyl, and 4-6 membered heterocycloalkyl-C 1-3 alkyl are each optionally substituted with 1, 2, or 3 substituents independently selected from fluoro, -OH, -O(C 1-3 alkyl), -CN, -CF 3, C 1-3 alkyl, -NH 2, -NH(C 1-3 alkyl), -N(C 1-3 alkyl) 2,-C N(C 1-3 alkyl) 2, -C NH(C 1-3 alkyl), -C NH 2, -C O(C 1-3 alkyl), -S 2 (C 1-3 alkyl), -S 2 (C 3-6 cycloalkyl), -C (C 3-6 cycloalkyl), and -C (C 1-3 alkyl); R 2 is H or C 1-3 alkyl; wherein said C 1-3 alkyl is optionally substituted by 1, 2, or 3 substituents independently selected from fluoro, -OH, -O(C 1-3 alkyl), -CN, -CF 3, NH 2, -NH(C 1-3 alkyl), and -N(C 1-3 alkyl) 2; or R 1 and R 2 together with the nitrogen atom to which they are attached form a 4-, 5- or 6-membered heterocycloalkyl ring; which is optionally substituted with 1, 2, or 3 substitutents independently selected from fluoro, -OH, -O(C 1-3 alkyl), -CN, C 1-3 alkyl, C 1-3 haloalkyl, -NH 2, -NH(C 1-3 alkyl), -N(C 1-3 alkyl) 2, and -CH 2 CN; R 3 is H, F, Cl, -CN, C 1-3 alkyl, -OCF 3, -CF 3, or -O(C 1-3 alkyl); R 4 is H, F, Cl, -CN, C 1-3 alkyl, or -O(C 1-3 alkyl); R 5 is H, F, Cl, -CN, C 1-3 alkyl, or -O(C 1-3 alkyl); R 6 is H, F, Cl, -CN, or C 1-3 alkyl; and R 7 is H, F, Cl, -CN, C 1-3 alkyl, -CH 2 CN, -C N(C 1-3 alkyl) 2, -C NH(C 1-3 alkyl), or -C NH 2.