Which sentence uses a hyphen correctly?

A : She gave a ten-minute speech to the class.
B : She had ten-minutes to give her speech to the class.
C : The speech she gave to the class lasted ten-minutes.
D : The speech, which lasted ten-minutes, was given to the class.
(LA)