In the morning Josh completed a hike on a 5/14 mile trail. In the afternoon he completed a hike on a second trail using his pedometer to keep track of the miles. The pedometer measured 3.35 miles for the second trail. What is the total number of miles Josh hiked? Enter your answer as a decimal to the nearest tenth.