last Monday Matthew was given his pocket money, which is meant to last him a whole week.

On Monday he spent a quarter of his money.
On Tuesday he spent a third of the remaining money.
On Wednesday he spent half of the remaining money.
On Thursday he spent his last £1.25.
How much money did Matthew have?