Correct option is D
The relationship between Gandhinagar and Ahmedabad is that Ahmedabad is the largest city near Gandhinagar, which is the capital of Gujarat.
Applying the same relationship:
Lucknow is the capital of Uttar Pradesh, and Kanpur is the largest city near Lucknow.
Correct answer: (d) Kanpur