Consumer Surplus = Total utility - expenditure of consumer;
In our case the market price is q and consumer gets a rebate ( discount ) of q sqrt (x). According this the expenditure is q - q sqrt (x).
The total utility is given with 10x√+m.
So, the expression for the consumer surplus is: 10x√+m -q - q sqrt (x).