Farmer Joe has 800 yards of fencing to enclose a rectangular pasture. One side of the pasture borders on a river, and does not need to be fenced. If the width of the rectangle must be twice as long as the length (the side parallel to the river), what are the dimensions of the rectangular pasture?