Поставьте в условное предложение 3 типа. If my mather (to cook) a cake I (to invite) my friends to drink tea mith the cake
If my mother had cooked a cake, I would have invited my friends to drink tea...