Step-by-step explanation:
For the first question look at the picture. It should be pretty clear. Remember that cos45° = sqrt2 / 2.
2) We calculate it thanks to the conservation of mechanical energy:
Em1 = Em2
U1 + K1 = U2 + K2
K1 = 0J
U2 = 0j
U1 = K2
3) mgh = 1/2mv^2
v = sqrt(2gh)