How to solve a question with two variables?

X=3Y-6
20Y+35X=3795

you know that x = 3y-6

So, use that in the other equation:

20y + 35(3y-6) = 3795
20y + 105y - 210 = 3795
125y = 4005
y = 32.04

Now use that to find x.

Odd, I expected an integer answer. Check for typos.

Thanks Steve! I couldn't figure out how to put the equations together.

To solve a question with two variables, you'll need to use a system of linear equations. The given equations are:

1) X = 3Y - 6
2) 20Y + 35X = 3795

We can solve these equations using one of the following methods: substitution, elimination, or graphing. Let's use the method of substitution to solve this system.

1) X = 3Y - 6

We can rewrite equation 1 in terms of X. Add 6 to both sides:
X + 6 = 3Y

Now, solve for X in terms of Y:
X = 3Y - 6

Substitute this expression for X in equation 2:
20Y + 35(3Y - 6) = 3795

Simplify the equation:
20Y + 105Y - 210 = 3795

Combine like terms:
125Y - 210 = 3795

Add 210 to both sides:
125Y = 4005

Divide both sides by 125 to solve for Y:
Y = 4005/125

Simplify:
Y = 32.04

Now, substitute the value of Y back into equation 1 to find X:
X = 3(32.04) - 6

X = 96.12 - 6

X = 90.12

So, the solution to this system of equations is X = 90.12 and Y = 32.04.