Macky is thrice as old as her daughter. The sum of their ages is 80. How old is each of them with step by step explanation