How to do this sum

x=a2+a-2
______ if a= 888 888 888 888
a-1

better typing:

x = (a^2 + a - 2)/(a-1)

x = (a+2)(a-1)/(a-1)
= a+2

so if a = 888 888 888 888
x = 888 888 888 888 + 2
x = 888 888 888 890

I don't understand please explain futher

To do this sum, you need to substitute the given value of "a" into the equation and then solve for the expression. Let's break down the steps:

1. Start with the given equation: x = a^2 + a - 2.
2. Substitute "a" with the given value, which is 888,888,888,888: x = (888,888,888,888) ^ 2 + 888,888,888,888 - 2.
3. Simplify the equation using the order of operations (PEMDAS or BODMAS):
- First, calculate the exponent: (888,888,888,888)^2 = 789,612,797,163,484,861,908,100,721,664.
- Then, perform the addition: 789,612,797,163,484,861,908,100,721,664 + 888,888,888,888 - 2.
4. Evaluate the remaining addition: 789,612,797,163,484,861,908,100,721,664 + 888,888,888,888.
5. Finally, subtract 2 from the previous result: the final value of x = the sum in step 4 - 2.

By following these steps, you can find the value of x when a = 888,888,888,888.