You can put this solution on YOUR website!
let Berto’s age be and Joana’s age
if Berto is years older than Joana, we have
......eq.1
if three years ago, the sum of their ages is , we have
..........substitute from eq.1
go to
......eq.1, ..substitute
Berto is and Joana is now.