Most non metallic is P
Most metallic is Al
Reason for non metallic P is that it has high electronegativity than Cl atom more over it is more electron deficient.
Reason for high metallic nature of Aluminum as compare to Be is that it has 1s2 2s2 filled and when talking about boron it is intrinsic nature of boron to be non metallic (boron show exceptional behaviour due to its very small size) hence only one option left for most electropositive Nature and that is Al