James has a rectangular plot of land that is 250 feet long and x feet wide. He wants to build a fence around the plot of the land. If the perimeter of the plot is 942 feet, what is the value of x?