If the two delta functions have one common variable, you can use the identity: delta(x1-x) delta(x-x2) = delta(x1-x2)
Absent Mathematica code with the DiracDeltas in question it is effectively impossible to provide guidance.