5. In a local bar, a customer slides an empty beer mug on the counter for a refill. The bartender does not see the mug, which slides off the counter and strikes the floor 1.4 m from the base of the counter. If the height of the counter is 0.86 m,
(a) with what speed did the mug leave the counter
(b) what was the direction of the mug's velocity just before it hit the floor?