You can put this solution on YOUR website! let the age of the daughter be x yrs.
then the mother's age would be= 3x-3
given= sum of their ages= 45
x+3x-3 =45
4x-3 =45
4x =48
x =12
so the daughter's age= x= 12 yrs
and mother's age = 3x-3 = 36-3 = 33yrs