Question 924144

[Demola is 2 years older than john, peter is half of demola's age, the sum of their ages is 23. How old is john?]
<pre>
Let Demola's current age, be D
Then John's is: D - 2
Peter's is: {{{(1/2)D}}}, or {{{D/2}}}
As their ages sum to 23, we get:
{{{D + D - 2 + D/2 = 23}}}
{{{2D - 2 + D/2 = 23}}}
{{{2D + D/2 = 23 + 2}}}
{{{2D + D/2 = 25}}}
4D + D = 50 ------- Multiplying by LCD, 2
5D = 50
D, or Demola's current age = {{{50/5}}}, or {{{highlight_green(10)}}}
John's current age: 10 - 2, or {{{highlight_green(8)}}}
Peter's current age: {{{(1/2)10}}}, or {{{highlight_green(5)}}}