It will take 6 years for that to happen.
You can find this by setting Nichole's age as x and Sophie's age as x + 28 since she will always be 28 years older.
Now we are looking for a time that Sophie's age is equal to 2 less than 6 times Nichole's age. So we can set up the below equation.
6(x) - 2 = x + 28
6x - 2 = x + 28
5x - 2 = 28
5x = 30
x = 6
This let's us know that it needs to be when Nichole is 6, which is 6 years in the future.
LFT says that for any prime modulus

and any integer

, we have

From this we immediately know that

Now we apply the Euclidean algorithm. Outlining one step at a time, we have in the first case

, so

Next,

, so

Next,

, so

Finally,

, so

We do the same thing for the remaining two cases:


Now recall the Chinese remainder theorem, which says if

and

, with

relatively prime, then

, where

denotes

.
For this problem, the CRT is saying that, since

and

, it follows that



And since

, we also have


What is boxed is what you put in your stat plot in your calculator (graphing). To find the y intercept you use the value function on your calculator (if you have a Ti-84 it’s 2nd-> trace-> 1) and enter 0. Yo find the x intercept you use the zero function on your calculator (if you have a Ti-84 it’s 2nd-> trace-> 2 and follow the instructions it asks). Hope this helps!
I believe the answer is 39<span />
when dividing subtract the powers
so you would do 6-2 = 4
so b = 4