# How do you solve for w in S = Lw + wh + Lh?

Apr 8, 2016

w = (S - L h) / (color(blue)( (h + L))

#### Explanation:

$S = L w + w h + L h$

$S = L h + \textcolor{b l u e}{w h + L w}$

$S = L h + w \textcolor{b l u e}{\left(h + L\right)}$

$S - L h = w \textcolor{b l u e}{\left(h + L\right)}$

w = (S - L h) / (color(blue)( (h + L))