We can set Charmaine's age as x. If William is 3 years older, than his age would be 3 + x.
Charmaine = x
William = 3 + x
Their ages added up together is 76, and we need to multiply Charmaine's age by 3 and William's age by 2.
3x + 2(3+x) = 76
3x + 6 + 2x = 76
5x = 70
x= 14
Charmaine is 14 years old
William's age is Charmaine's age plus 3.
William is 17 years old.