Eva takes a taxi to and from work. The taxi charges a flat rate of $2.60 and $1.30 for each mile. Eva gives her friend, who lives d miles away from her work, a ride home in the taxi. Eva then travels m miles more in the taxi before reaching her home.