Lucy rents a bike from a store where they rent bikes for $12 plus $3 per hour. If Lucy spend $30, how many hours (h) did she rent a bike ?