A compound having structural Formula I: or a pharmaceutically acceptable salt thereof wherein: R 1 is aryl unsubstituted or substituted by 1-3 R 5, or 5- or 6-membered heteroaryl containing 1, 2, or 3 heteroatoms independently selected from N, O, and S, wherein the heteroaryl is unsubstituted or substituted by 1-3 R 5, or 8- to 10-membered fused heteroaryl containing 1, 2, or 3 heteroatoms independently selected from N, O, and S, wherein the heteroaryl is unsubstituted or substituted by 1-3 R 5; R 2 is R 3 is -(C 1-6)alkyl-O-(C 1-3)alkyl, 4- to 7-membered monocyclic or 6- to 10-membered bicyclic heterocyclyl containing 1 or 2 heteroatoms independently selected from N, O, and S, wherein the heterocyclyl is unsubstituted or substituted by 1-3 R 7, -(C 1 - 6)alkyl-heterocyclyl containing 1 or 2 heteroatoms independently selected from N, O, and S, and wherein the heterocyclyl is a 5- to 7- membered ring, or -(C 1 - 6)alkyl-pyridinyl, wherein the pyridinyl is unsubstituted or substituted with (C 1 - 3)alkyl or halo(C 1-3)alkyl, and wherein the alkyl is unsubstituted or substituted with a hydroxy; R 4 is hydrogen, (C 1-3)alkyl, or CN; each R 5 is halo, (C 1-3)alkyl, halo(C 1-3)alkyl, (C 3-6)cycloalkyl, -C NH 2, -C O(C 1-3)alkyl, (C 1-3)alkoxy, halo(C 1-3)alkoxy, hydroxy, phenyl, -NHC CH 3, 5- or 6-membered heteroaryl containing 1, 2, or 3 heteroatoms independently selected from N, O, and S, wherein the heteroaryl is unsubstituted or substituted by 1-2 (C 1-3)alkyl, or hydroxy, CN, hydroxy(C 1-3)alkyl, or (C 1-3)alkyl-heterocyclyl, wherein the heterocyclyl contains 1 or 2 heteroatoms independently selected from N, O, or S, and wherein the heterocyclyl is a 5- to 7-membered ring; each R 6 is hydrogen, or halo; each R 7 is oxo, or (C 1-3)alkyl; X is CH or N; Y is CH or N; n is 1 or 2; wherein heterocyclyl is a nonaromatic monocyclic ring; and wherein aryl is phenyl or naphthyl. R 1 is aryl unsubstituted or substituted by 1-3 R 5, or 5- or 6-membered heteroaryl containing 1, 2, or 3 heteroatoms independently selected from N, O, and S, wherein the heteroaryl is unsubstituted or substituted by 1-3 R 5, or 8- to 10-membered fused heteroaryl containing 1, 2, or 3 heteroatoms independently selected from N, O, and S, wherein the heteroaryl is unsubstituted or substituted by 1-3 R 5; aryl unsubstituted or substituted by 1-3 R 5, or 5- or 6-membered heteroaryl containing 1, 2, or 3 heteroatoms independently selected from N, O, and S, wherein the heteroaryl is unsubstituted or substituted by 1-3 R 5, or 8- to 10-membered fused heteroaryl containing 1, 2, or 3 heteroatoms independently selected from N, O, and S, wherein the heteroaryl is unsubstituted or substituted by 1-3 R 5; R 2 is R 3 is -(C 1-6)alkyl-O-(C 1-3)alkyl, 4- to 7-membered monocyclic or 6- to 10-membered bicyclic heterocyclyl containing 1 or 2 heteroatoms independently selected from N, O, and S, wherein the heterocyclyl is unsubstituted or substituted by 1-3 R 7, -(C 1 - 6)alkyl-heterocyclyl containing 1 or 2 heteroatoms independently selected from N, O, and S, and wherein the heterocyclyl is a 5- to 7- membered ring, or -(C 1 - 6)alkyl-pyridinyl, wherein the pyridinyl is unsubstituted or substituted with (C 1 - 3)alkyl or halo(C 1-3)alkyl, and wherein the alkyl is unsubstituted or substituted with a hydroxy; -(C 1-6)alkyl-O-(C 1-3)alkyl, 4- to 7-membered monocyclic or 6- to 10-membered bicyclic heterocyclyl containing 1 or 2 heteroatoms independently selected from N, O, and S, wherein the heterocyclyl is unsubstituted or substituted by 1-3 R 7, -(C 1 - 6)alkyl-heterocyclyl containing 1 or 2 heteroatoms independently selected from N, O, and S, and wherein the heterocyclyl is a 5- to 7- membered ring, or -(C 1 - 6)alkyl-pyridinyl, wherein the pyridinyl is unsubstituted or substituted with (C 1 - 3)alkyl or halo(C 1-3)alkyl, and wherein the alkyl is unsubstituted or substituted with a hydroxy; R 4 is hydrogen, (C 1-3)alkyl, or CN; hydrogen, (C 1-3)alkyl, or CN; each R 5 is halo, (C 1-3)alkyl, halo(C 1-3)alkyl, (C 3-6)cycloalkyl, -C NH 2, -C O(C 1-3)alkyl, (C 1-3)alkoxy, halo(C 1-3)alkoxy, hydroxy, phenyl, -NHC CH 3, 5- or 6-membered heteroaryl containing 1, 2, or 3 heteroatoms independently selected from N, O, and S, wherein the heteroaryl is unsubstituted or substituted by 1-2 (C 1-3)alkyl, or hydroxy, CN, hydroxy(C 1-3)alkyl, or (C 1-3)alkyl-heterocyclyl, wherein the heterocyclyl contains 1 or 2 heteroatoms independently selected from N, O, or S, and wherein the heterocyclyl is a 5- to 7-membered ring; halo, (C 1-3)alkyl, halo(C 1-3)alkyl, (C 3-6)cycloalkyl, -C NH 2, -C O(C 1-3)alkyl, (C 1-3)alkoxy, halo(C 1-3)alkoxy, hydroxy, phenyl, -NHC CH 3, 5- or 6-membered heteroaryl containing 1, 2, or 3 heteroatoms independently selected from N, O, and S, wherein the heteroaryl is unsubstituted or substituted by 1-2 (C 1-3)alkyl, or hydroxy, CN, hydroxy(C 1-3)alkyl, or (C 1-3)alkyl-heterocyclyl, wherein the heterocyclyl contains 1 or 2 heteroatoms independently selected from N, O, or S, and wherein the heterocyclyl is a 5- to 7-membered ring; each R 6 is hydrogen, or halo; hydrogen, or halo; each R 7 is oxo, or (C 1-3)alkyl; oxo, or (C 1-3)alkyl; X is CH or N; Y is CH or N; n is 1 or 2; wherein heterocyclyl is a nonaromatic monocyclic ring; and wherein aryl is phenyl or naphthyl.