You can 
put this solution on YOUR website!    
Hi,
madeline: x NOW
Cara:  3x  NOW
Question states*** in ten years ....
Assuming Your Original Work Up was...
****
 3x + 10 = 2x + 20
     x = 10, Madeline's age  and Cara's age is 30. 
 How old was Cara 4 years ago? yes, 26