X = 4 , that’s what I got ! Sorry if it might be wrong
Subject
Easy way to remember is to find the verb and ask who or what
In this it would be who or what was late? The answer would be you.
I believe that the attitude of the speaker would be defiant. Go to the following web site for much more information, because it helps to explain it in details.