A = 4
B = 3
Because
12=8+4
4+9=10+3
and these are your answers, hope i helped and have a good day
a = 4
b = 3