Given that the triangle is a right angled triangle, to solve for x we shall use the Pythagorean theorem given by:
c^2=a^2+b^2
where:
c is the hypotenuse
a and b are the legs.
c=10
a=6
b=(x-6)
thus plugging the values in the equation and solving for x we get:
10^2=6^2+(x-6)^2
100=36+x^2-12x+36
100=x^2-12x+72
0=x^2-12x-28
factoring the above we get:
0=(x+2)(x-14)
hence
x=-2 or x=14
given that there is no negative distance then
x=14
thus the value of x is 14
For this case we have that by definition, the point-slope equation of a line is given by:

Where:
m: It's the slope
It is a point through which the line passes
According to the statement data we have:

Substituting we have:

By law of signs of multiplication we have to:

Answer:
The requested equation is: 
Check the picture below.
so, hmmm notice, since i² = -1 and i⁴ = 1, whenever the exponent is only divisible by 2, the value will be -1, and whenever the exponent is divisible by 4, we end up with a +1, so every subsequent even exponent is simply cancelling the previous value, if we take that to the even value of 100, which has 50 pairs of those, we end up with, yeap, you guessed it, 0.