I`d say that the second sentence is correct.
The first one might sound different using "told", which changes its message :
Mat told his girlfriend to buy some crisps
or "said to"
Matt said to his girlfriend to buy some crisps.
Still, if you want to use "offered", the second sentence is correct.
- For Teachers