Suppose a demand function is given by Q=10P^-0.5Y^0.75. Calculate the price elasticity of demand and income elasticity of demand.