Answer: Easement by necessity
Explanation: In law Easement by necessity occurs when a land owner is asked by law to sacrifice parts of his land for road, so as to allow another person to gain access to his own land that was originally inaccessible.
This was the easement gained by person A in the question given.