Marley bought a sandwich for $3.50, a soda for $1.95, and a pack of chips for $0.95. She used a coupon for 1/2 off on the sandwich. What was Marley's total cost before tax was added?