UL Solutions interview question

General dbm to gain calculations