Maggie is 3 years younger than Juliet who is 10 years so she is 10-3 = <<10-3=7>>7 years old
Ralph is 2 years older than Maggie so he is 10+2 = 12 years old
The sum of Maggie's and Ralph's ages is 7+12 = <<7+12=19>>19 years
#### 19