2) I wish I had studied harder
If I had studied harder I wouldn't have failed my exams.
3)I wish I had enough money to buy a sport car
If I had enough money I would buy a sport car.
4) I wish I could go out with my friends
If I had less homework to do I would go out with my friends