Let's denote the amount Harry has as \( H \) and the amount Nicky has as \( N \).
According to the problem, we have two equations:
-
The total amount shared between Harry and Nicky is: \[ H + N = 120 \]
-
Nicky takes $58 more than Harry, which gives us: \[ N = H + 58 \]
Now, we can substitute the second equation into the first equation:
\[ H + (H + 58) = 120 \]
This simplifies to:
\[ 2H + 58 = 120 \]
Now, solve for \( H \):
\[ 2H = 120 - 58 \] \[ 2H = 62 \] \[ H = 31 \]
Now that we have \( H \), we can find \( N \):
\[ N = H + 58 = 31 + 58 = 89 \]
So, Harry has $31 and Nicky has $89.
Therefore, the final amounts are:
- Harry: $31
- Nicky: $89