Нужно подставить have/has/had been или have/had/has gone to A: Where ... you ...?
B: I ... the library?
A: Why ... you ... (go) there?
B: I ... there to borrow some books on history
A: ... Mike ... there with you& I cant find him
B: Yes, he ... He is still in library