You are given
= 24, (1)
= 40, (2)
= 12. (3)
(1) is equivalent to = w, (1')
(2) is equivalent to = w, (2')
(3) is equivalent to = w. (3')
From (3') = , or = . (4)
Replace here by based on (1'). Replace by , based on (2'). Then you will get
= , which implies
= and then = w.
The last equality means that = 60.
Answewr. = 60.