have difficulty doing
前に来たとき、キャットは青とオレンジの染料を缶で買うのに苦労しなかった。
When Cat came before, she had no trouble buying blue and orange dye by the can.
私はまだフランス語で相手に言いたいことを伝えるのに苦労しています。
I still struggle to express what I want to say to others in French.
誰がちゃんと読んでいて、誰が怠けているのか、見分けるのに苦労はしなかった。
It wasn’t hard to tell who was reading carefully and who was slacking off.