An online database charges $35 an hour during the day and $15.50 an hour at night. If a research company paid $350 for 12 hours of use, which system of equations could be used to determine the number of hours charged at the day rate (d) and at the night rate (n)?