Given that {x = 2, and {x = 1, are two solutions of the equation AX + by = 15, find the values of a and B. y = 5, y = 10

Given that {x = 2, and {x = 1, are two solutions of the equation AX + by = 15, find the values of a and B. y = 5, y = 10

According to the meaning of the title
2a+5b=15 (1)
a+10b=15 (2)
(1) - (2) multiply by 2
-15b=-15
b=1
Substituting B = 1 into (1) yields
2a+5=15
∴a=5
∴a=5
b=1