Answer:
He was flown to a hospital in kansas city after the accident.
He was flown to a hospital in Kansas City after the accident.
Step-by-step explanation:
Kansas should be capitalized in this sentence because it is the name of a city ["kansas city"]. In this sentence "kansas" is also used as a proper noun.
City should be capitalized in this sentence because it is part of the city name Kansas. In this sentence "city" is also used as a proper noun.
A proper noun meaning: a noun that designates a particular being or thing, does not take a limiting modifier, and is usually capitalized in English (Source: Merriam Webster dictionary)