N is the midpoint of BC, that is, BN=NC=NA+AM+MC.
BA=BN+NA
And m is the midpoint of AC AM=MC.
that is
BA=NA+AM+MC+NA=2(NA+AM)
BA=acm
2(NA+AM)=a
Na+am =1/2cm