How do you get the supply function after you have the demand function?