You
were lying in bed all afternoon.
Were you lying in bed all afternoon?
You weren't/were not lying in bed all afternoon.
I was reading a book during English class.
Was I reading a book during English Class?
I wasn't/was not reading a book during English class.