since 25×2=50 you can get 4 pairs of jeans.
if you get 4 pairs of jeans you would only need 2 dresses because 25+25+25+25+50+50=200
and 2+4=6
so in order to have the 6 items of clothing you need you have to buy 4 pairs of jeans and 2 dresses.
hope this helps!