I was doing an exercise. I completed the sentence as following.
If you were my child, I would have demanded that such an irresponsible teacher be fired.
But the answer given in the book is following.
If you had been my child, I would have demanded that such an irresponsible teacher be fired.
I am not sure if my answer is wrong. The latter sounds better and I can see the relative merit of it.
Best Answer
Your answer was wrong. Would have demanded in the main clause requires had + past participle in the 'if' clause. The construction is sometimes known to foreign learners as the third conditional.