Let's just try to solve the problem.... BA B is the tens digit A is the ones digit B = 2A A + B = 12 so by substitution for B A + 2A = 12 3A = 12 Can you solve for A ? Then solve for B and check your answer in the other equation
I can see that the answer is 48... but let's work the problem Let the number be represented by xyy is the units digitx is the tens digit x+y=12. the sum of the digits is 12y=2x. the units digit is twice the tens digit replacing y with 2x in the first equation we have x+2x=123x=12x=4 y=2x =2(4)=8 xy = 48