In Baguio City ,a horse ride costs 120.00 per person for the first 30 minutes and 50.00 for every additional 10 minutes.If you spent 270.00 for a horse ride ,for how long did you ride?