If you let the length of the string be L then in the first case there are N loops and each loop is 10cm so L = 10N in the second case there are N+2 loops and each loop is 8cm so L = 8(N+2)
If you let the length of the string be L then in the first case there are N loops and each loop is 10cm so L = 10N in the second case there are N+2 loops and each loop is 8cm so L = 8(N+2)