You can put this solution on YOUR website! Josh is 36 years old.
Josh was twice as old as Justin was when Josh was as old as Justin is now.
How old is Justin now?
:
let j = Justin's present age
let d = 36 - j, the difference in their ages
:
"Josh was twice as old as Justin was when Josh was as old as Justin is now."
36 - d = 2(j - d)
36 - d = 2j - 2d
36 = 2j - 2d + d
36 = 2j - d
replace d with 36 - j
36 = 2j - (36 - j)
36 = 2j - 36 + j
36 + 36 = 2j + j
72 = 3j
j = 72/3
j = 24 yrs is Justin's age