In my class, my teacher asked me what I was doing last weekend.
# In my class, my teacher asked me if I was doing last weekend.
# In my class, my teacher asked me if I was doing last weekend.
# In my class, my teacher asked me if I was doing last weekend.