Question 165268
call the numbers a and b.  a+b=50 so a=50-b    (3 times a)(3a)=5+(2 times b)(2b)

re written as  3a=5+2b.     Now  substituting a's value from first equation into 2nd equation we get    3(50-b)= 5+2b  or 150-3b=5+2b  adding 3b and subtracting 5 from each side we get 5b=145  so b =29    so since a=50-b(29) the a =21

answer:  a=21 and b=29