Edie can paint a wall in 3 hours. Dan can paint the same wall in 6 hours. if they work together, how many hours will it take Edie and Dan to paint the wall?

A.
1 hour

B.
1.5 hours

C.
2 hours

D.
4.5 hours