Let’s find the pattern using the alphabetical positions of the letters:
JIYA:
J = 10, I = 9, Y = 25, A = 1
Sum = \(10 + 9 + 25 + 1 = 45\)
Code = \(45 \times 4 = 180\)
NAVAL:
N = 14, A = 1, V = 22, A = 1, L = 12
Sum = \(14 + 1 + 22 + 1 + 12 = 50\)
Code = \(50 \times 5 = 250\)
So the logic:
Sum of letter positions \(\times\) number of letters = code
Now apply to TANISHA:
T = 20, A = 1, N = 14, I = 9, S = 19, H = 8, A = 1
Sum = \(20 + 1 + 14 + 9 + 19 + 8 + 1 = 72\)
Letters = 7
Code = \(72 \times 7 = 504\)