On a beach trip lucy rents a bike from wheel by the waves where they rent bikes for $12 plus $3 per hour if lucy spent $30 how many hours(h) did she ride a bike