How to determine Defined Benefit Plan?

Defined Benefit Plan says upon retirement there is a defined benefit paid out to either you or your spouse.Take the number of years you are married while you were employed over the number of years of employment times 50% times the benefit received.