Matt is baking cookies.

He uses butter, sugar and flour in a ratio of 2 : 3 : 4

Matt uses 300 g of flour.

How much sugar does he use?