If the figure is a regular polygon find the value of x

[tex]▪▪▪▪▪▪▪▪▪▪▪▪▪ {\huge\mathfrak{Answer}}▪▪▪▪▪▪▪▪▪▪▪▪▪▪[/tex]
The given figure is of a regular octagon, and we know that each interior Angle of a regular octagon is equal to :
so, interior angle of octagon = 135°
now, according to above question,
Exterior Angle (6x - 21)° is forming linear pair with interior Angle of the octagon, so their sum will be equal to 180° .