J1, J2 and J3 are three junctions on a motorway. The distance from J2 to J3 is 8.7 miles. The distance from J1 to J2 is one-third of the distance from J2 to J3. Work out the distance from J1 to J3