If you want to incorporate 'for a year", you would need to say 'I have been in Poland for a year.'
But as 'been to' suggests just a visit and not a long stay, you may want to use "I had gone to Poland a year ago.'
Answer:
into is the preposition. the object of the preposition is classroom. the prepositional phrase is into the classroom.
Explanation: