My jean trousers doesn't fit me anymore. Is it because of my legs or belly fat?

Should I do leg exercises to make them thinner or belly exercises to be able to wear it again
My jean trousers doesn't fit me anymore. Is it because of my legs or belly fat?
Post Opinion