Which expression (#1 or # 2) is correct? Or if they both are correct, which of then are more common?

1. a two-hour trip
2. two hours’ trip

1. a one and a half hour lesson
2. one and a half hours’ lesson

Thank you in advance.
These are correct:

1. a two-hour trip

1. a one-and-a-half-hour lesson

This is more common: a ninety-minute lesson.
Site Hint: Check out our list of pronunciation videos.
Alex+2. two hours’ trip
I consider the above structure correct as well. Even an article is possible with it: [a ] two hours' trip.
Both are correct:

a two-hour trip

a two hours' trip