Multiply and add like terms:

(w+6)(w+23)\displaystyle {\left({w}+{6}\right)}{\left({w}+\frac{{2}}{{3}}\right)}