Given production function ,Y=X^a in maximum profit .

a) The factor demand function
b)The supply function. Show your working clearly