The taxi ride cost $1 plus 40 cents more for each quarter mile traveled. What was the total cost fro a 2-mile trip?