Hi,
First, I request you to post your IELTS essays under "Writing Feedback" forum. You need to select it right. Also, you should type a meaningful subject which is unique and descriptive topic for your essay. These are forum rules and you need to follow them if you wish to receive good feed backs.
Okkkkkkk... let's have a look at your essay :)
Recent years have witnessed the increasingly deteriorating quality of cities.
... well your topic is focused on quality of life in cities. This means the quality of life of city dwellers. You need to pay lots of attention to the prompt and align your response to what it asks.
Cities' quality largely depends on two main factors; the living environment and the sense of happiness achieved by its inhabitants.
... I changed the punctuation....
Anyway, I feel your essay is not aligned with the prompt and it's worth re-doing it.