To find the value of \( x \) given the two angles \( 51^\circ \) and \( (3x)^\circ \), we can set up the equation:
\[ 51 + 3x = 180 \]
This equation implies that the angles are supplementary (add up to 180 degrees).
Now, we can solve for \( x \):
- Subtract 51 from both sides:
\[ 3x = 180 - 51 \]
\[ 3x = 129 \]
- Divide both sides by 3:
\[ x = \frac{129}{3} \]
\[ x = 43 \]
Thus, the value of \( x \) is \( 43^\circ \).