In a race that consist of three parts,the cycling 12 1/2 miles long,the running part of the race was 1/4 the distance of cycling,the kayaking is 1/2 the distance running.what is the entire distance in miles of the race