One lesson lasts 1.5 hours, so 18 hours of them is 18 / 1.5 = <<18/1.5=12>>12 lessons.
If one lesson costs $30, then 12 lessons cost 12 * 30 = $<<12*30=360>>360.
#### 360