Call

are given by the name of the element and the . Here boron-11 means the name of the element is boron and the mass number is 11.

We are given that boron-10 had five protons in its nucleus, and any element always has the same number of protons in its nucleus (atomic number). So boron-11 has five protons the same as boron-10.

Then the mass number is total protons plus neutrons. For boron-11 this total is 11, and five of the particles are protons, thus $11-5=6$ neutrons.