Answer
$(x+5)(x+y)$
Work Step by Step
$\bf{\text{Solution Outline:}}$
Group the terms of the given expression, $
x^2+5y+5x+xy
,$ such that the factored form of the groupings will result to a factor that is common to the entire expression. Then, factor the $GCF$ in each group. Finally, factor the $GCF$ of the entire expression.
$\bf{\text{Solution Details:}}$
Grouping the first and third terms and the second and fourth terms, the given expression is equivalent to
\begin{array}{l}\require{cancel}
(x^2+5x)+(5y+xy)
.\end{array}
Factoring the $GCF$ in each group results to
\begin{array}{l}\require{cancel}
x(x+5)+y(5+x)
\\\\=
x(x+5)+y(x+5)
.\end{array}
Factoring the $GCF=
(x+5)
$ of the entire expression above results to
\begin{array}{l}\require{cancel}
(x+5)(x+y)
.\end{array}