On the Subject of Homophonic CM

A machine that knows no bounds when it comes to ciphers.

Config the table below so that the lowest value in that row is underneath the letter that is shown on screen A. Ex: OEC means that 01 is under O, 27 is under E, and 53 is under C.

For each letter of the encrypted word, do the following.

You should now have a decrypted word.

Example

Encrypted Word: DBMVKAY
Key: HRS
Screen 1: JGOOKAU
Screen 2: LBFSCHY

|D - J| * 10 + |D - L| → 68 → H
|B - G| * 10 + |B - B| → 50 → O
|M - O| * 10 + |M - F| → 27 → R
|V - O| * 10 + |V - S| → 73 → M
|K - K| * 10 + |K - C| → 08 → O
|A - A| * 10 + |A - H| → 07 → N
|Y - U| * 10 + |Y - Y| → 40 → E

Decrypted Word: HORMONE

You can use the 2 letters in the table below to determine the absolute difference between the 2 letters.

ABCDEFGHIJKLMNOPQRSTUVWXYZ
A0123456789----------------
B10123456789---------------
C210123456789--------------
D3210123456789-------------
E43210123456789------------
F543210123456789-----------
G6543210123456789----------
H76543210123456789---------
I876543210123456789--------
J9876543210123456789-------
K-9876543210123456789------
L--9876543210123456789-----
M---9876543210123456789----
N----9876543210123456789---
O-----9876543210123456789--
P------9876543210123456789-
Q-------9876543210123456789
R--------987654321012345678
S---------98765432101234567
T----------9876543210123456
U-----------987654321012345
V------------98765432101234
W-------------9876543210123
X--------------987654321012
Y---------------98765432101
Z----------------9876543210