A)
If the dress costs x and the pair of pants cost $25 dollars less, the cost of the pants will be:
![x\text{ - 25}](https://img.qammunity.org/2023/formulas/mathematics/college/ha1a2n0df1bimktbotupd3lgyt3kle917p.png)
B)
We know that the dress costs x and the pants cost x-25. Molly bought 2 dresses and 3 pairs of pants, with the total amount of $675. Thus:
![2x\text{ + 3(x-25) = 675}](https://img.qammunity.org/2023/formulas/mathematics/college/jn1wfoif8jcmlgf5ovp08feq0inuzwi9rv.png)
![2x\text{ + 3x - 75 = 675}](https://img.qammunity.org/2023/formulas/mathematics/college/dzx0ub98aj78roeyt3jtqwy9pkytgwm7b4.png)
![5x\text{= 675}+75](https://img.qammunity.org/2023/formulas/mathematics/college/uu8u6ron5rlpx6cr14hgom3ptihml5b6g0.png)
![x=\text{ 150}](https://img.qammunity.org/2023/formulas/mathematics/college/fko8heowhcpt7b0vbwucyjy7o7ih8m9afh.png)
If x is the dress cost, so the dress will cost $150. And the pants:
![x\text{ - 25}](https://img.qammunity.org/2023/formulas/mathematics/college/ha1a2n0df1bimktbotupd3lgyt3kle917p.png)
![150\text{ - 25}](https://img.qammunity.org/2023/formulas/mathematics/college/nj9dk9sm4zo32i0b5934vj4ym9ajtnns8l.png)
![125](https://img.qammunity.org/2023/formulas/mathematics/high-school/20kyncen8b8qlp40jvm2gyow4r2vbhgsz0.png)
The pants will cost $125.