Hello Mr Moses,
Coughing up of orange-pink mucus is usual when a person has flooding of lungs (pulmonary edema
). It may be associated with profuse sweating
and heaviness or crushing in chest.
Crackling noise on breathing suggests air way narrowing with inflammation (the inner skin of airway is thickened, and weepy). As you can lie flat, a major cardiac problem seems less likely.
You must be seen by your family physician without further delay. He will give you emergency advice. Later you can get yourself referred to a cardiologist or a pulmonologist, who will help you in finding out your real medical problem.
Wish you to get relief with the help of your local physician,