A prepositional phrase starts with a preposition. Given that the preposition in this sentence is the word <em>in, </em>the prepositional phrase is in the contest. The word it modifies is paint.
Where does Devon want to paint pumpkins? In the contest.
The answer is B.2...that sentence does not make any sense