Given that {x = 3, y = 1 and {x = 2, y = 11 are solutions of AX + by = 7, what are the values of a and B?

Given that {x = 3, y = 1 and {x = 2, y = 11 are solutions of AX + by = 7, what are the values of a and B?

Substituting x = 3, y = 1 and x = 2, y = 11 into ax + by = 7
3A + B = 7
2a+11b=7
The solution is a = 70 / 31
b=7/31