A father is now twice as old as his daughter . 10 years ago he was 3 times as old as her . How old are they both now?