Given data:
The first expression is 2+8-z=-24.
The given expression can be written as,

Thus, the value of z is 34.
Given data:
The given value of m=3.
The second given value is c=6.
The expression for E is,

Substitute the given values in the above expression.

Thus, the value of E is 108.