What is the number of degrees in $x$? [asy]
import olympiad; import geometry; defaultpen(linewidth(0.8)); size(150);
pair A = origin, B = (Cos(50),Sin(50)), C = (Cos(50) + Sin(50)*sqrt(3),0);
draw(A--B--C--cycle);
label("$30^\circ$",C-(0.3,-.03),NW);
label("$2x$",B + (-.10,-0.1),SE);
label("$x$",A+(0.15,.03),NE);
[/asy]
The angles of a triangle sum to $180^\circ$, so we have $x + 2x + 30^\circ = 180^\circ$.  Simplifying gives $3x +30^\circ = 180^\circ$, so $3x =150^\circ$ and $x = \boxed{50^\circ}$.
50
Level 1
Prealgebra
Problem: What is the number of degrees in $x$? [asy]
import olympiad; import geometry; defaultpen(linewidth(0.8)); size(150);
pair A = origin, B = (Cos(50),Sin(50)), C = (Cos(50) + Sin(50)*sqrt(3),0);
draw(A--B--C--cycle);
label("$30^\circ$",C-(0.3,-.03),NW);
label("$2x$",B + (-.10,-0.1),SE);
label("$x$",A+(0.15,.03),NE);
[/asy]
Solution:<|START_OF_LATENT|><|PRIOR_PREFIX|>To find the value of $x$, we analyze the triangle formed by points A, B, and C. The angles in a triangle sum to $180^\circ$. The angle at point C is given as $30^\circ$. The angle at point B is labeled as $2x$, and the angle at point A is labeled as $x$. 

We can set up the equation based on the sum of the angles in the triangle:

$x + 2x + 30^\circ = 180^\circ$.

This simplifies to:

$3x + 30^\circ = 180^\circ$.

Next, we isolate $3x$ by subtracting $30^\circ$ from both sides:

$3x = 180^\circ - 30^\circ$.

This simplifies to:

$3x = 150^\circ$.

Now, we divide both sides by 3 to solve for $x$:

$x = \frac{150^\circ}{3}$.

Calculating this gives:

$x = 50^\circ$.

Thus, the value of $x$ is determined to be $50$.<|END_OF_LATENT|> The final answer is $50$.