Medicine

A patient presents with respiratory distress and shows pH = 7.2, PCO2 = 50 mmHg, PO2 = 85 mmHg and HCO3 = 20 mEq/L. The cause is