Solve for F1:
F1-F2-P=0
F1=F2+P
and substitute the expression for F1 into the compatibility equation:
F1L1A1E1+F2L2A2E2=0