Question 1129639
Let {{{ a }}} = Amanda's age now
Let {{{ b }}} = Peter's age now
Let {{{ c }}} = Sam's age now
--------------------------------------
(1) {{{ a = b + 5 }}}
(2) {{{ c = b - 3 }}}
(3) {{{ a + b + c = 50 }}}
-----------------------------
Substitute (1) and (2) into (3)
(3) {{{ b + 5 + b + b - 3 = 50 }}}
(3) {{{ 3b + 2 = 50 }}}
(3) {{{ 3b = 48 }}}
(3) {{{ b = 16 }}}
and
(1) {{{ a = 16 + 5 }}}
(1) {{{ a = 21 }}}
and
(2) {{{ c = 16 - 3 }}}
(2) {{{ c = 13 }}}
------------------------
Amanda is 21
Peter is 16
Sam is 13
------------------------
check:
(1) {{{ 21 = 16 + 5 }}}
(1) {{{ 21 = 21 }}}
OK
You can finish checking