The answer is Ba₃P₂ (Barium phosphide)
Ba + P → Ba₃P₂
The equation must be balanced.
There are 3 atoms of Ba on the right side of the equation (Ba₃P₂), so we must add number 3 on the left side of the equation.
Similarly, there are 2 atoms of P on the right side of the equation (Ba₃P₂), so we must add number 2 on the left side of the equation.
3Ba + 2P → Ba₃P₂