Ann is the subject of the sentence
has taught is the verb phrase
students is the direct object
junior high are adjectives that modify the direct object students
for several years is a prepositional phrase that modifies the verb taught
Answer: The answer is A and B.
Explanation: I guessed and got it right