The task is to generate text based off of an event. For the given event, there will be a person who does the action in the event (usually PersonX). Your task is to write that persons intent behind doing the event, i.e. why did the person do that action.

Q: PersonX spends a ___ thinking

A: to solve a problem by thinking about it
****
Q: PersonX gets PersonY's hair cut

A: to help person with a new hairstyle
****
Q: PersonX is driving to PersonY's house

A:
to see persony
****