A taxi charges $10 for the first four miles and $.25 per mile for each additional mile. How many miles is the taxi ride if the average cost per mile is $1.25?