There are only black pens and green pens in a box.
The ratio of the number of black pens in the box to the number of green pens in the box is 2:5
What fraction of the pens are black?