In the first, Mary does two things: 1) she tells her mother something, and 2)she goes out shopping. In the second, Mary tells her mother two things. However, the second is not grammatical.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.