1. Tom has taken some time off focusing on developing her own collection of artwork.
2. Tom has taken some time off to focus on developing her own collection of artwork.
===============
Which one is grammatical? What is the difference between 'focusing' and 'to focus'?