A ship traveled for 4 hours heading east and for 3 hours heading north. If the total distance traveled was 149 miles, and the ship traveled 3 miles per hour faster heading north, at what speed was the ship traveling east?