Substitute for l in the second equation:

Simplify: or

Solve for w:

Substitute this value into the first equation: