Answer: The subject is "crab" "yellow" is an adjective that describes the crab. The complete subject is The yellow crab
Explanation: The subject of a sentence is the person place or thing that predicate is about. The predicate always has the main verb in it.
In this sentence lived in his pillow is the predicate. lived is the verb.