A boat travels 40 miles downstream (with the current) in the same time it takes the boat to travel 30 miles upstream (against the current). If the boat travels at 46 miles per hour, write an equation to solve for the speed of the current, x in miles per hour.