Learn first
How sentence parts work together
A subject tells who or what a sentence is about. A predicate tells what the subject does or is like. A noun names; a verb tells an action or state.
How to work it out Find the subject and the verb. Then identify the word group named by the question. A complete predicate includes more than just the verb.
A separate example In the separate sentence The fox rests beside a log, The fox is the subject and rests beside a log is the complete predicate.
A phrase between the subject and verb does not change which noun controls agreement. Temporarily set aside the of-phrase and identify the head noun.
Worked example
The box of markers is open. Box is singular; markers is inside a phrase describing the box.