struggle to (do something)
To have difficulty or put forth a strenuous effort to do something. The device has proven expensive to manufacture and hard to market, so the company has struggled to make a profit this fiscal year. I've been struggling to understand your reasoning.
struggle to do something
to strive or battle to do something. She struggled hard to meet her deadlines. We had to struggle to make ends meet.