What do we call these English grammatical structures: I would have earned more money had I worked overtime. Had I known it would rain, I would have stayed home. I understand how to use these structures, but I don't know how to explain them to another person who is learning English.