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 00).