Biogeochemistry stoic

A lake has an input of 1 g P m-2 yr-1. Assuming that all the P is used to create algal biomass which is 50% C by weight and has a Redfield molar ratio of 106:16:1 (C:N:P)

a) how much biomass (dry weight m-2 yr-1) could be supported in this lake?

b) how much N (g m-2 yr-1) is also required to support this amount of algal biomass?

To fully denitrify 1000 gallons of water with a nitrate-N concentration of 17 mg N l-1

 a. how many grams of glucose would it take?

b. moles methanol required?