A continuous random variable has a probability density function of f(x) = 2x² for 0 < x≤ 2 and is equal to 0 for other values. Another continuous random variable has a probability density function of f(y) = 1/(2√y) for 0 ≤ y ≤ 1 and is equal to 0 for other values. Calculate var(X) and var(Y).