What test should I run?

#1
Hi! I'm working on a practice problem and I am given the following information:
people who have manual labor jobs (n=18): average hours of sleep ranging between 6.7 and 8.2 with a median of 7.4
people who do not have manual labor jobs (n=12): average hours of sleep ranging between 4.7 and 6.9 with a median of 5.7

They want to see if there is a significant difference between the two groups and I need to give:
response and explantatory variable and type
appropriate null hypothesis
the appropriate statistical method and formula for test statistic, if available
required assumptions

it seems like it should be a t-test (given that it's a binary explanatory and a continuous response, but I don't know how to do that given only this information?