Benin shares a border with Togo. Togo is a narrow country on the coast of West Africa, bordered by Ghana to the west, Burkina Faso to the north, and Benin to the east. The Gulf of Guinea lies to the south.
The other options are incorrect:
Niger does not border Togo. Niger is a landlocked Sahelian country that borders Burkina Faso, Mali, Algeria, Libya, Chad, Nigeria, and Benin - but not Togo directly.
Algerie (Algeria) is in North Africa, far from Togo, separated by the Sahara and several countries.
Liberia is in West Africa but is separated from Togo by Cote d'Ivoire and Ghana.
Knowledge of West African geography, particularly the borders of francophone countries, is frequently tested in JAMB French.