Nitric acid, HNO2 is a weak acid with Ka= 4.5 x 10-4

Nitric acid, HNO2 is a weak acid with Ka= 4.5 x 10-4. It dissociates according to:
HNO2 (aq) <–> H+ (aq) + NO2- (aq)

a. What is the pH of a buffer solution which is 0.80 M in NO2- and 0.40 M in HNO2?
b. What will be the pH of the resulting solution when 2.0 mL of 0.5 M HCl are added to 50 mL of this (from part a) buffer solution?
c. What will be the pH of the resulting solution when 2.0 mL of 0.5 M NaOH are added to 50 mL of this (from part a) buffer solution?