It is known that L1: x + ay-2a-2 = 0, L2: ax + y-1-a = 0 (1) If L1 ‖ L2, try to find the value of A (2) If L1 ⊥ L2, try to find the value of A

It is known that L1: x + ay-2a-2 = 0, L2: ax + y-1-a = 0 (1) If L1 ‖ L2, try to find the value of A (2) If L1 ⊥ L2, try to find the value of A

X + ay = 2A + 2ay = 2A + 2-xy = (2a + 2-x) / ay = (- X / a) + 2 + (2 / a) ax + y = a + 1y = - ax + A + 1 because the two lines are parallel, so the slope is equal. K1 = k2-1 / a = - A1 / a = A1 = a ^ 2A1 = 1, A2 = - 1. But when a = - 1, we get: X-Y = 0x = Y-X + y = 0y = x two lines are the same, so they are not parallel but coincide