Question 151380
Six years ago bob was four times as old as Mary. In four years he will be twice as old as Mary. How old are they?

B= Bob's age now
M= Mary's age now

You did it wrong you have to start like this:

B-6=4(M-6)
B+4=2(M+4)

solving we have

B=26 and M=11