You can put this solution on YOUR website! Let r be the age of Rebecca. Let j be the age of Jake.
Rebecca is four years older than Jake: r = j+4
Five years ago she was twice as old as he was: r-5 = 2(j-5)
Substitute j+4 for r.
j+4-5 = 2(j-5)
j-1 = 2j -10
9 = j
r = 9 +4 = 13
So Jake is 9 and Rebecca is 13.