I'm stuck on this question please help.

"Lines p and q intersect to form adjacent angles 1 and 2.If angle 1=3x+18 and angle 2=-8y-70,find the values of x and y so that p is perpendicular to q.

each angle is 90 degrees if the lines are perpendicular. So,

3x+18 = 90
x = 24

-8y-70 = 90
y = -20

To find the values of x and y so that p is perpendicular to q, we need to determine the relationship between angles 1 and 2 when p is perpendicular to q.

When two lines intersect and form adjacent angles, the sum of those adjacent angles is always 180 degrees. In other words, angle 1 + angle 2 = 180 degrees.

Given that angle 1 = 3x + 18 and angle 2 = -8y - 70, we can set up the equation:

(3x + 18) + (-8y - 70) = 180

Simplifying the equation, we have:

3x + 18 - 8y - 70 = 180

Combine like terms:

3x - 8y - 52 = 180

Next, move the constant term to the other side of the equation:

3x - 8y = 180 + 52

Simplify:

3x - 8y = 232

Now, in order for line p to be perpendicular to line q, the adjacent angles need to add up to 90 degrees (since the definition of perpendicular lines is that the angles between them are 90 degrees). Therefore, we set up another equation:

angle 1 + angle 2 = 90

Substituting the given expressions for angle 1 and angle 2:

3x + 18 + (-8y - 70) = 90

Simplifying the equation:

3x - 8y - 52 = 90

Next, move the constant term to the other side of the equation:

3x - 8y = 90 + 52

Simplify:

3x - 8y = 142

So, we have the system of equations:

3x - 8y = 232 ...(1)
3x - 8y = 142 ...(2)

Subtract equation (2) from equation (1):

(3x - 8y) - (3x - 8y) = 232 - 142

Simplifying the equation, we get:

0 = 90

Since the equation simplifies to 0 = 90, it means that there is no solution to the system of equations.

Therefore, there are no values of x and y that make line p perpendicular to line q.

To find the values of x and y, we need to set up an equation based on the given conditions that p is perpendicular to q.

When two lines are perpendicular, their corresponding angles are congruent, which means they have the same measure.

In this case, since p and q are perpendicular, angle 1 and angle 2 must have the same measure:

3x + 18 = -8y - 70

Now, we can solve this equation to find the values of x and y. Let's isolate the terms involving x and y:

3x = -8y - 70 - 18
3x = -8y - 88

Next, we want to isolate one variable, so let's solve for x:

x = (-8y - 88) / 3

Thus, the value of x is (-8y - 88) / 3.

Now, we can substitute this value of x back into the equation to find y. Let's substitute and simplify:

3((-8y - 88) / 3) + 18 = -8y - 70

Simplifying further:

-8y - 88 + 18 = -8y - 70
-8y - 70 = -8y - 70

As we can see, the equation is true for any value of y. Therefore, there are infinite solutions for this equation. The value of x is dependent on the value of y, and can be calculated using the formula: x = (-8y - 88) / 3.