Explanation
We are asked to simplify
[tex](5+2i)(1+3i)[/tex]To do so, we will make use of the fact that
[tex]i\times i=i^2=-1[/tex]So, we will use the FOIL method of expansion
So that
[tex]\begin{gathered} First=5\times1=5 \\ Outer=5\times3i=15i \\ Inner=2i\times1=2i \\ Last=2i\times3i=6i^2=-6 \end{gathered}[/tex]Simplifying by adding the terms above, we will have
[tex]5+15i+2i-6=5-6+15i+2i=-1+17i[/tex]Therefore, the answer is