I am working on some homework solving nonlinear equations and the word problems are giving me a little difficulty. If someone could help me understand how to set up a system of equations for these problems, it would really help me.

Here a couple examples:

1) Dividing a pasture.

The area of a rectangular pasture is 8750 square feet. The pasture is divided into three smaller pastures by two fences parallel to the shorter sides. The widths of two of the larger pastures are the same, and the width of the third is one-half that of the others. Find the dimensions of the original pasture if the perimeter of the smaller of the subdivisions is 190 feet.

2) Carpet sale.

A salesperson sold a square carpet and a rectangular carpet whose length was 6 feet more than its width. The combined area of the two carpets was 540 square feet. The price of the square carpet was $12 per square yard, and the price of the rectangular carpet was $10 per square yard. If the salesperson received $50 more for the rectangular piece, find the dimensions of each carpet.