It's a hexagon.
The formula of the sum of internal angles in the polygon:
Therefore
3x-21=12
add 21 to both sides to get 3x alone.
3x=33
divide both sides by 3
and you get:
x=11