In the square + BC of the algebraic expression ax, if x = 5, its value is 45 and x = - 2, its value is 10, then a = B=

In the square + BC of the algebraic expression ax, if x = 5, its value is 45 and x = - 2, its value is 10, then a = B=

x=5
Then 25A + 5B = 45
So 9A + B = 9 (1)
x=-2
4a-2b=10
2a-b=5 (2)
(1)+(2)
11a=14
therefore
a=14/11
b=2a-5=-23/11