A room is 6m long, 4m wide and 3m high. A spider starts from one corner on the floor and wants to reach the farthest opposite corner on the ceiling by crawling first along the floor and then straight up a wall. What is the minimum distance it has to crawl?
a) 7.0m
b) 7.8m
c) 8.0m
d) 9.2m