When the age of rita was equal to the present age of shova she was thrice as old as shova wwas.If the sum on Thier present ages is 40 years old,find their ages