D=2h2+2sh+7hh
Factor h out of 2h2.
D=h(2h)+2sh+7hh
Factor h out of 2sh.
D=h(2h)+h(2s)+7hh
Factor h out of 7h.
D=h(2h)+h(2s)+h⋅7h
Factor h out of h(2h)+h(2s).
D=h(2h+2s)+h⋅7h
Factor h out of h(2h+2s)+h⋅7.
D=h(2h+2s+7)h
D=h(2h+2s+7)h
Cancel the common factor.
D=h(2h+2s+7)h
Divide 2h+2s+7 by 1.
D=2h+2s+7
D=2h+2s+7
Solve for D D=(2h^2+2sh+7h)/h