Original: As of the 2007 census , the city population was 6,311 .
Simplified: Union Gap is a city in the state of Washington .