Answer:
X = 12
Step-by-step explanation:
Input 12 for X
[tex]3*(12)+6 = 42[/tex]
x = 12
The value of x is 12. (Refer attachment)