For babysitting nicole charges a flat fee of $10 plus $5 per hour. She earned $27.50 on tuesday night. Write an equation to determine how many hours nicole babysat on tuesday night?