read the following sentences.

How many U.S. presidents can _you_ name? in the year 2000, U.S. citizens elected the 43rd president. Some of the presidents were elected more than once. Franklin Roosevelt, for example, was elected to four terms in office. Manny citizens would have given him their vote again, because he was so popular.
in sentence one, the word you is
a subject
a predicate
an indirect object
none of the above

The word "you" in sentence one is an indirect object.

in sentence two, the word president is a

subject
predicate
direct object
indirect object

In sentence two, the word "president" is a direct object.

in sentence 3, the words were elected is a/an

subject
predicate
direct object
indirect object

In sentence three, the words "were elected" form the predicate of the sentence. They describe the action of the subject "some of the presidents."

in sentence 4, the words in office is

a predicate
a direct object
an indirect object
a prepositional phrase

In sentence four, the words "in office" are a prepositional phrase. They provide additional information about the location or position of the subject "four terms."