For this task, you will write two validators.
A few examples to illustrate these respective functions:
isShifted([1, 2, 3], [2, 3, 4]) β true
// Each element is shifted +1
isShifted([1, 2, 3], [-9, -8, -7]) β true
// Each element is shifted -10
isMultiplied([1, 2, 3], [10, 20, 30]) β true
// Each element is multiplied by 10
isMultiplied([1, 2, 3], [-0.5, -1, -1.5]) β true
// Each element is multiplied by -1/2
isMultiplied([1, 2, 3], [0, 0, 0]) β true
// Each element is multiplied by 0
0).