If you want to line up your haemoglobin with your symptom of cough, then one must postulate a problem with your lung.
Not impossible, but highly unlikely.
Your anemia needs further description, before one can postulate the cause of your cough e.g is it an iron deficiency anaemia?