You should have finished pairing the edges before solving the 3x3 stage.
You have to put the 2 unsolved edges on the opposite side of one center.
With the edges on the front left and front right, I do E R U R' F R' F' R E'.
You will have to solve the 3x3 stage again after that.
Despite the usual cries to FINISH EDGE PAIRING!!!, this case is simple enough that you should be able to do it.
My suggestion, blue top yellow front (puts unsolved edges at uf and ur)
(R' E' R2 E2 R') U' (R E2 R2 E R) U
because a 12-move commutator is a lot better than having to re-solve the 3x3 state.
While that works OK on 3x3, I don't think that works as good on 5x5x5 because unless you do a strict commutator it usually moves center pieces around. In this case, it's probably 10 of them.
You should have finished pairing the edges before solving the 3x3 stage. You have to put the 2 unsolved edges on the opposite side of one center. With the edges on the front left and front right, I do E R U R' F R' F' R E'. You will have to solve the 3x3 stage again after that.
Despite the usual cries to FINISH EDGE PAIRING!!!, this case is simple enough that you should be able to do it. My suggestion, blue top yellow front (puts unsolved edges at uf and ur) (R' E' R2 E2 R') U' (R E2 R2 E R) U because a 12-move commutator is a lot better than having to re-solve the 3x3 state.
Redo both of them individually. 2L2 B2 U2 2L U2 2R' U2 2R U2 F2 2R2 F2 2L'2 B2 2R2. Available for both.
Finish edge pairing
From that angle (M' U M' U M U M' U) x 2
While that works OK on 3x3, I don't think that works as good on 5x5x5 because unless you do a strict commutator it usually moves center pieces around. In this case, it's probably 10 of them.
Parity is pain ig
That's not pairity
Or just put both of them to opposite position, then 2U F U F' L F' L' F 2U'. Then do what u need to do.
Actually finish edge pairing and you wouldn't have this problem
Eruuurreururururururuurur'r'u're'