A compound according to Formula Ix or a pharmaceutically acceptable salt or solvate thereof, wherein: X is C; Y is N, CH or CR a; n = 0, 1, 2, 3 or 4; A 4 is CR 4 or N, A 5 is CR 5 or N, A 6 is CR 6 or N, A 7 is CR 7 or N, with the proviso that no more than two of A 4 -A 7 can be N; R a is (C 1-4)alkyl; R 1 is (i) (C 3-12)carbocyclyl; or (ii) a 4- to 12-membered heterocyclyl, both (i) and (ii) optionally substituted with one, two, three, four or five R 8; R 2 is hydroxycarbonyl, hydroxycarbonyl(C 1-10)alkyl, or carbamoyl; R 3 is hydrogen, halogen, cyano, nitro, hydroxy, (C 1-3)alkylC O-, (C 1-4)alkyl, or (C 1-4)alkoxy, wherein (C 1-4)alkyl and (C 1-4)alkoxy are optionally substituted with one or more halogen; R 4 -R 7 independently are H, halogen, amino, cyano, hydroxy, (C 1-3)alkoxy, (C 1-4)alkyl, (C 0-10)alkyl)aminocarbonyl, (di)(C 1-6)alkylaminocarbonyl or amino(C 1-4)alkyl, wherein (C 1-3)alkoxy, (C 1-4)alkyl, (C 0-10)alkyl)aminocarbonyl, (di)(C 1-6)alkylaminocarbonyl and amino(C 1-4)alkyl are optionally substituted with one or more halogen, hydroxyl or (C 1-3)alkoxy; or a group having the formula optionally substituted with one or more of the following: (C 1-10)alkyl, halogen, amino, cyano, hydroxy, (C 1-3)alkoxy, and wherein m is 1, 2, 3, or 4; R 8 is halogen, cyano, amino, nitro, hydroxy, H 2 NC -, (C 1-3)alkoxycarbonyl, (di)(C 1-6)alkylaminocarbonyl, (C 1-4)alkyl, (C 3-7)cycloalkyl, (C 3-5)heterocycloalkyl, (C 1-3)alkoxyaminocarbonyl, 4- to 8-membered heterocyclylcarbonyl, (C 3-6)cycloalkylaminocarbonyl, amino(C 1-4)alkyloxycarbonyl or (C 1-3)alkoxy, wherein (C 1-3)alkoxycarbonyl, (di)(C 1-6)alkylaminocarbonyl, (C 1-4)alkyl, (C 1-3)alkoxyaminocarbonyl, 4- to 8-membered heterocyclylcarbonyl, (C 3-6)cycloalkylaminocarbonyl, amino(C 1-4)alkyloxycarbonyland (C 1-3)alkoxy are optionally substituted with oxo, (C 1-4)alkyl, hydroxy(C 1-3)alkyl, or one, two or three halogens. X is C; Y is N, CH or CR a; n = 0, 1, 2, 3 or 4; A 4 is CR 4 or N, A 5 is CR 5 or N, A 6 is CR 6 or N, A 7 is CR 7 or N, with the proviso that no more than two of A 4 -A 7 can be N; R a is (C 1-4)alkyl; R 1 is (i) (C 3-12)carbocyclyl; or (ii) a 4- to 12-membered heterocyclyl, both (i) and (ii) optionally substituted with one, two, three, four or five R 8; (i) (C 3-12)carbocyclyl; or (ii) a 4- to 12-membered heterocyclyl, R 2 is hydroxycarbonyl, hydroxycarbonyl(C 1-10)alkyl, or carbamoyl; R 3 is hydrogen, halogen, cyano, nitro, hydroxy, (C 1-3)alkylC O-, (C 1-4)alkyl, or (C 1-4)alkoxy, wherein (C 1-4)alkyl and (C 1-4)alkoxy are optionally substituted with one or more halogen; R 4 -R 7 independently are H, halogen, amino, cyano, hydroxy, (C 1-3)alkoxy, (C 1-4)alkyl, (C 0-10)alkyl)aminocarbonyl, (di)(C 1-6)alkylaminocarbonyl or amino(C 1-4)alkyl, wherein (C 1-3)alkoxy, (C 1-4)alkyl, (C 0-10)alkyl)aminocarbonyl, (di)(C 1-6)alkylaminocarbonyl and amino(C 1-4)alkyl are optionally substituted with one or more halogen, hydroxyl or (C 1-3)alkoxy; or a group having the formula optionally substituted with one or more of the following: (C 1-10)alkyl, halogen, amino, cyano, hydroxy, (C 1-3)alkoxy, and wherein m is 1, 2, 3, or 4; R 8 is halogen, cyano, amino, nitro, hydroxy, H 2 NC -, (C 1-3)alkoxycarbonyl, (di)(C 1-6)alkylaminocarbonyl, (C 1-4)alkyl, (C 3-7)cycloalkyl, (C 3-5)heterocycloalkyl, (C 1-3)alkoxyaminocarbonyl, 4- to 8-membered heterocyclylcarbonyl, (C 3-6)cycloalkylaminocarbonyl, amino(C 1-4)alkyloxycarbonyl or (C 1-3)alkoxy, wherein (C 1-3)alkoxycarbonyl, (di)(C 1-6)alkylaminocarbonyl, (C 1-4)alkyl, (C 1-3)alkoxyaminocarbonyl, 4- to 8-membered heterocyclylcarbonyl, (C 3-6)cycloalkylaminocarbonyl, amino(C 1-4)alkyloxycarbonyland (C 1-3)alkoxy are optionally substituted with oxo, (C 1-4)alkyl, hydroxy(C 1-3)alkyl, or one, two or three halogens.