Question 4:
Gregory is x years old. Daisy is 2 years older than Gregory. The sum of their ages is 40.
(a) Form an equation in terms of x.
(b) Solve the equation and work out Gregory's and Daisy's ages.