On a neutral state, the number of proton of a substance will be equal to the number of its electron (in this case, it has 15 electrons)
When three electrons are gained, the total number of electron will change to 18, this result in the substance became a negatively charged ion of 3-
hope this helps