mary ageis 3times age of bhabna ,and sum of their ages 5years from now will be twices mary 's present age.how old they are now

write the given facts as algebra:

m=3b
(m+5)+(b+5) = 3m

Now just solve for m and b