Step 1: Longest chain
The chain has 6 carbons, numbered from the COOH carbon.
Step 2: Locate double bonds
C2=C3 and C4=C5, so the locants are 2 and 4.
Step 3: Name it
Six carbons give hex, two double bonds give dien, and the acid gives oic acid: hexa-2,4-dienoic acid, option (B).
Final Answer:
Option (B).
\[ \boxed{\text{Hexa-2,4-dienoic acid}} \]