When two half cells X and Y combined then the standard cell potential of cell is
EMF is an intensive property, the cell potential of two half-cells cannot be added. To calculate the cell potential of a cell we need to sum up the Gibbs free energy changes of the two the half cells.
ΔG0cell=ΔG0X+ΔG0Y
we know that
ΔG0=−nFE0
thus E0=−ΔG0X+ΔG0YnrxnF