A compound of the formula (Ib) or a pharmaceutically acceptable salt thereof, wherein R 1 is selected from phenyl, which is unsubstituted or substituted by 1, 2 or 3 substituents independently selected from methyl, ethyl, difluoromethyl, methoxy, difluoromethoxy, cyclopropyl, chloro or fluoro; pyridyl, which is unsubstituted or substituted by 1, 2 or 3 substituents independently selected from methyl, ethyl, difluoromethyl, methoxy, difluoromethoxy, cyclopropyl, chloro or fluoro; 1 -methylpyrazol-5-yl; 2-methylthiophen-5-yl; C 3 -C 6 -cycloalkyl, which is unsubstituted or substituted in the 1 position by methyl; tetrahydropyran-4-yl; piperidin-1-yl; morpholin-4-yl; pyrolidin-3-yl, which is unsubstituted or substituted in the 1 position by a substituent which is selected from methoxycarbonyl, methylsulfonyl, methyl or methylcarbonyl; or dimethylamine; R 2 is selected from C 4 -C 7 -heteroaryl, containing one nitrogen atom and additional 0, 1, 2 or 3 heteroatoms independently selected from N, O or S, wherein C 4 -C 7 -heteroaryl is unsubstituted or substituted by 1-3 substituents independently selected from C 1 -C 4 -alkyl, C 1 -C 4 -fluoroalkyl, hydroxy-C 1 -C 4 -alkyl, hydroxy-C 1 -C 4 -fluoroalkyl, C 1 -C 4 -alkoxy, C 1 -C 4 -fluoroalkoxy, C 3 -C 6 -cycloalkyl, which is unsubstituted or substituted by 1-3 substituents independently selected from methyl, or fluoro, C 3 - C 6 -heterocycloalkyl, which is unsubstituted or substituted by 1-3 substituents independently selected from methyl, or fluoro, cyano, fluoro, amino, C 1 -C 4 -alkylamino, or C 1 -C 4 -dialkylamino; R 5 and R 6 are independently selected from hydrogen, deuterium or fluoro; R 7 is selected from methoxy, difluoromethoxy, trifluoromethoxy, hydroxy, fluoro or methylsulfonylamine; and R 3 is selected from or wherein R 8 is selected from hydrogen, methyl, fluoromethyl, difluoromethyl, trideuteromethyl or amino. R 1 is selected from phenyl, which is unsubstituted or substituted by 1, 2 or 3 substituents independently selected from methyl, ethyl, difluoromethyl, methoxy, difluoromethoxy, cyclopropyl, chloro or fluoro; pyridyl, which is unsubstituted or substituted by 1, 2 or 3 substituents independently selected from methyl, ethyl, difluoromethyl, methoxy, difluoromethoxy, cyclopropyl, chloro or fluoro; 1 -methylpyrazol-5-yl; 2-methylthiophen-5-yl; C 3 -C 6 -cycloalkyl, which is unsubstituted or substituted in the 1 position by methyl; tetrahydropyran-4-yl; piperidin-1-yl; morpholin-4-yl; pyrolidin-3-yl, which is unsubstituted or substituted in the 1 position by a substituent which is selected from methoxycarbonyl, methylsulfonyl, methyl or methylcarbonyl; or dimethylamine; R 2 is selected from C 4 -C 7 -heteroaryl, containing one nitrogen atom and additional 0, 1, 2 or 3 heteroatoms independently selected from N, O or S, wherein C 4 -C 7 -heteroaryl is unsubstituted or substituted by 1-3 substituents independently selected from C 1 -C 4 -alkyl, C 1 -C 4 -fluoroalkyl, hydroxy-C 1 -C 4 -alkyl, hydroxy-C 1 -C 4 -fluoroalkyl, C 1 -C 4 -alkoxy, C 1 -C 4 -fluoroalkoxy, C 3 -C 6 -cycloalkyl, which is unsubstituted or substituted by 1-3 substituents independently selected from methyl, or fluoro, C 3 - C 6 -heterocycloalkyl, which is unsubstituted or substituted by 1-3 substituents independently selected from methyl, or fluoro, cyano, fluoro, amino, C 1 -C 4 -alkylamino, or C 1 -C 4 -dialkylamino; C 1 -C 4 -alkyl, C 1 -C 4 -fluoroalkyl, hydroxy-C 1 -C 4 -alkyl, hydroxy-C 1 -C 4 -fluoroalkyl, C 1 -C 4 -alkoxy, C 1 -C 4 -fluoroalkoxy, C 3 -C 6 -cycloalkyl, which is unsubstituted or substituted by 1-3 substituents independently selected from methyl, or fluoro, C 3 - C 6 -heterocycloalkyl, which is unsubstituted or substituted by 1-3 substituents independently selected from methyl, or fluoro, cyano, fluoro, amino, C 1 -C 4 -alkylamino, or C 1 -C 4 -dialkylamino; R 5 and R 6 are independently selected from hydrogen, deuterium or fluoro; R 7 is selected from methoxy, difluoromethoxy, trifluoromethoxy, hydroxy, fluoro or methylsulfonylamine; and R 3 is selected from or wherein R 8 is selected from hydrogen, methyl, fluoromethyl, difluoromethyl, trideuteromethyl or amino.