how does the first law of motion relate to the second law​