Tom earns £10 an hour and his wife earns £2 an hour more than Tom. Write a formula for their total earnings T for h hours.