Mix van second en third conditional:
If you were better at English (second conditional, unlikely situation), you wouldn't have messed up the test (in the past)
Mix van third and second conditional:
If he hadn't broken the law (in the past), he wouldn't be in prison (now)