Build the negative result: “If you had studied, you would not have failed.”

Conditional Sentences with إِذَا and لَوْ