Hi, We normally say 'Tom and Mary's dog'. I wouldn't say that 'Tom's and Mary's dog' is wrong, but it sounds awkward. I'd rather reword it to say something like 'The dog belonging to Tom and Mary' or '.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.