If it says write the equation,

five less than half a number is forty

would the answer be

1/2n-5=40

Right.