How to combine please the following two formulas:

IF(OR(B10="ABC",B10=DEF"),I10-H10,0)

and

IF(B10="GHI",G10,"")