1.If i had knwon you don't eat met, I would have cooked something else. (type 3)
2.If You had asked for my opinion, I would have told you the truth.(type 3)
3.I wouldn't have come to you if you hadn't invited me.(type 3)
4. I wouldn't given the book if you hadn't asked me.(type 3)
5. If you had been more careful, you wouldn't have done mistakes.(type 3)