Sophie will be 6 years old. Nichole will be 6+28 = 34
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