A taxi company charges $2 for the first mile and then $0.25 per mile for each additional mile. If Lupita's fare was $4.50, how many miles did she travel in the taxi?