Задайте вопросы к подлежающему:
- Was he in London? - He was. - Was she at home? - She is - Can Ted come? - Ted can.