A compound of Formula (X): or a pharmaceutically acceptable salt thereof, wherein: R 1 is H, F, Cl, CN, C 1 -C 2 alkyl or C 1 -C 2 fluoroalkyl, where each said C 1 -C 2 alkyl and C 1 -C 2 fluoroalkyl is optionally substituted by R 20 ; R 2 is H, C 1 -C 5 alkyl, C 1 -C 5 fluoroalkyl, C 3 -C 8 cycloalkyl or 3-6 membered heterocyclyl, where each said C 1 -C 5 alkyl and C 1 -C 5 fluoroalkyl is optionally substituted by R 20 and each said C 3 -C 8 cycloalkyl and 3-6 membered heterocyclyl is optionally substituted by R 21 ; R 4 is H, C 1 -C 4 alkyl, C 1 -C 4 fluoroalkyl, C 1 -C 4 alkoxy or C 1 -C 4 fluoroalkoxy, where each said C 1 -C 4 alkyl, C 1 -C 4 fluoroalkyl, C 1 -C 4 alkoxy and C 1 -C 4 fluoroalkoxy is optionally substituted by R 20 ; R 6 is H, F, Cl, CN, CH 3 , CH 2 F, CHF 2 or CF 3 ; R 7 and R 8 are independently H, F, Cl, CN, C 1 -C 2 alkyl, C 1 -C 2 fluoroalkyl, C 1 -C 2 alkoxy or C 1 -C 2 fluoroalkoxy, where each said C 1 -C 2 alkyl, C 1 -C 2 fluoroalkyl, C 1 -C 2 alkoxy and C 1 -C 2 fluoroalkoxy is optionally substituted by R 20 ; R 9 is H, OH, NH 2 , NHCH 3 or N(CH 3 ) 2 ; each R 10 is independently F, CN, C 1 -C 2 alkyl or C 1 -C 2 fluoroalkyl, where each said C 1 -C 2 alkyl and C 1 -C 2 fluoroalkyl is optionally substituted by R 20 ; each R 20 is independently OH, C 1 -C 2 alkoxy, C 1 -C 2 fluoroalkoxy, CN or NR 22 R 23 ; each R 21 is independently F, OH, CN, NR 22 R 23 , C 1 -C 4 alkyl, C 1 -C 4 fluoroalkyl, C 1 -C 4 alkoxy or C 1 -C 4 fluoroalkoxy, where each said C 1 -C 4 alkyl, C 1 -C 4 fluoroalkyl, C 1 -C 4 alkoxy and C 1 -C 4 fluoroalkoxy is optionally further substituted by OH, NH 2 , NHCH 3 or N(CH 3 ) 2 ; each R 22 and R 23 is independently H, C 1 -C 2 alkyl or C 1 -C 2 fluoroalkyl; or R 22 and R 23 may be taken together with the nitrogen atom to which they are attached to form an azetidinyl ring, which is optionally substituted by F or OH; and n is 0, 1, 2, 3 or 4. R 1 is H, F, Cl, CN, C 1 -C 2 alkyl or C 1 -C 2 fluoroalkyl, where each said C 1 -C 2 alkyl and C 1 -C 2 fluoroalkyl is optionally substituted by R 20 ; R 2 is H, C 1 -C 5 alkyl, C 1 -C 5 fluoroalkyl, C 3 -C 8 cycloalkyl or 3-6 membered heterocyclyl, where each said C 1 -C 5 alkyl and C 1 -C 5 fluoroalkyl is optionally substituted by R 20 and each said C 3 -C 8 cycloalkyl and 3-6 membered heterocyclyl is optionally substituted by R 21 ; R 4 is H, C 1 -C 4 alkyl, C 1 -C 4 fluoroalkyl, C 1 -C 4 alkoxy or C 1 -C 4 fluoroalkoxy, where each said C 1 -C 4 alkyl, C 1 -C 4 fluoroalkyl, C 1 -C 4 alkoxy and C 1 -C 4 fluoroalkoxy is optionally substituted by R 20 ; R 6 is H, F, Cl, CN, CH 3 , CH 2 F, CHF 2 or CF 3 ; R 7 and R 8 are independently H, F, Cl, CN, C 1 -C 2 alkyl, C 1 -C 2 fluoroalkyl, C 1 -C 2 alkoxy or C 1 -C 2 fluoroalkoxy, where each said C 1 -C 2 alkyl, C 1 -C 2 fluoroalkyl, C 1 -C 2 alkoxy and C 1 -C 2 fluoroalkoxy is optionally substituted by R 20 ; R 9 is H, OH, NH 2 , NHCH 3 or N(CH 3 ) 2 ; each R 10 is independently F, CN, C 1 -C 2 alkyl or C 1 -C 2 fluoroalkyl, where each said C 1 -C 2 alkyl and C 1 -C 2 fluoroalkyl is optionally substituted by R 20 ; each R 20 is independently OH, C 1 -C 2 alkoxy, C 1 -C 2 fluoroalkoxy, CN or NR 22 R 23 ; each R 21 is independently F, OH, CN, NR 22 R 23 , C 1 -C 4 alkyl, C 1 -C 4 fluoroalkyl, C 1 -C 4 alkoxy or C 1 -C 4 fluoroalkoxy, where each said C 1 -C 4 alkyl, C 1 -C 4 fluoroalkyl, C 1 -C 4 alkoxy and C 1 -C 4 fluoroalkoxy is optionally further substituted by OH, NH 2 , NHCH 3 or N(CH 3 ) 2 ; each R 22 and R 23 is independently H, C 1 -C 2 alkyl or C 1 -C 2 fluoroalkyl; or R 22 and R 23 may be taken together with the nitrogen atom to which they are attached to form an azetidinyl ring, which is optionally substituted by F or OH; and n is 0, 1, 2, 3 or 4. <EOS>