Upgrade subject to access all content

In the following data set: {$30, 37, 40, x, 57, 32$}, what is the value of $x$ if the mean is $36$?

$20$

$32$

$40$

$52$

$47$