1. If he (was, were) over 18, he would have been hired.
You need were here, as it's a contrary-to-the-fact assertion (he wasn't over 18), esp in formal contexts.
I mean were is better than was, but still not the best (see further).
See:
---------
EXCEPTION
If I...