Given a two-way table as shown in the following picture:
As shown in the table, we need to find the variables from x to w
So, we can deduce the following relations:
From the first column:

And, from the fourth column:

And, from the first row:

Substitute with x and z to find y

And

u = w = 16