Well, the first thing we need to do is divide 10 by 4. These teo numbers are the number of pens, and cost of them. So,
================================
10 / 4 = 2.5
--------------------------------------------------------
Now we have to use the answer we got, 2.5 which is the cost of 1 pen, and multiply it by 7.
================================
2.5 x 7 = 17.5
--------------------------------------------------------
This means that 7 pens cost £17.5