A couple took a small airplane for a flight to the wine country for a romantic dinner and then returned home. The plane flew a total of 4 hours and each way the trip was 270 miles. If the plane was flying at 151 miles per hour, what was the speed of the wind that affected the plane?