contestada

Which sentence uses a hyphen correctly?

She gave a ten-minute speech to the class.
She had ten-minutes to give her speech to the class.
The speech she gave to the class lasted ten-minutes.
The speech, which lasted ten-minutes, was given to the class

pls anwser quick