The first term is 7 because they both can be divided by 7.
1ml of 80ml bottle: 55/80 = 0.6875 pence
1ml of 50ml bottle: 45/50 = 0.9 pence
If no special offer the first bottle is a better value for money.
Since special offer though, you'd be buying;
50ml bottle £45 + another 50ml £22.5 = £67.5 in
which case 1ml would cost;
67.5/100 = 0.675 pence. Hence buying 2x50ml
bottle would be a better value.