In English, as in Spanish, we find that there are patterns to certain ways of speaking. One common one that is difficult to translate into Spanish is:
To be + adjective + to-infinitive.
It’s nice to meet you.
He is bound to get lost.
We were impressed to see Frank hadn’t burned the house down.
So, if you ever start a sentence with expressions like “it is good” or “I was happy”, be sure to follow them with a to-infinitive!
However, if the “subject” of the to-infinitive is not the same as the main verb, add in that subject with the preposition for:
It is hard for Bill to arrive early.
It is obligatory for you to move your vehicle.
If it hadn’t been necessary for me to watch it, I wouldn’t have.