Tom is 3 years older than his sister, Mary. If Tom is currently 5 times as old as Mary was 2 years ago, how old are Tom and Mary now? Let's think step by step and output the final answer within \boxed{}.
user