Explanation of electrical resistance question