Respuesta :

I think "were Katy and Gary in class yesterday?" is right

Were Katy and Gary in class yesterday?

(you forgot the question mark)