Teorija

FORMULA
+ / - / ?
was / were + Ving
 
FORM 
Affirmative sentences (+): was/were + Ving 
Subjectwas / wereVing
Iwasworking
Wewereworking
Youwereworking
Theywereworking
Hewasworking
Shewasworking
Itwasworking
Negative sentences (-): was / were + not + Ving 
Subjectwas / werenotVing
Iwasnotworking
Wewerenotworking
Youwerenotworking
Theywerenotworking
Hewasnotworking
Shewasnotworking
Itwasnotworking
was not = wasn't
were not = weren't
Interrogative sentences (?): ... was / were + S + Ving … ?
(QW)was / wereSubjectVing"what / where / when"?
 WasIworking ?
 Wereweworking ?
Wherewereyouworkingyesterday at 8 o'clock?
 Weretheyworking ?
 Washeworkingwhen the children came?
 Wassheworking ?
 Wasitworking ?
Short answers:
Yes, S + was / were. 
No, S + wasn't / weren't. 
Yes,Subject was. / were.   No,Subject wasn't. / weren't.
Yes,Iwas. No,Iwasn't.
Yes,wewere. No,weweren't.
Yes,youwere. No,youweren't.
Yes,theywere. No,theyweren't.
Yes,hewas. No,hewasn't.
Yes,shewas. No,shewasn't.
Yes,itwas. No,itwasn't.
NOTE!
In short answers we use pronouns (I, we, you, they, he, she, it)
E.g.
— Was Adam working yesterday at 9 o'clock?
— No, he wasn't.
(Not: No, Adam wasn't.) 
***
Ving — Verb ending in "-ing" (Present Participle). E.g. writing, going, listening, etc.
Revise how to add "ing" to a verb here.
S — Subject of the sentence
QW — Question word