two years ago a man was six times as old as his daughter. In 18 years he will be twice as old as her, determine their present ages