This DE is first-order and linear, so we can solve it using an integrating factor. (There are other solution techniques, as well.)
We begin by putting the DE in the standard form for a first-order linear DE so that we can identify \(\ds P(x) \text{.}\)
\begin{align*}
y' \amp = 2x - 3y + 1 \\
y' + 3y \amp = 2x + 1
\end{align*}
We can see that \(\ds P(x) = 3.\) Then we can find the integrating factor \(\ds z \)
\begin{align*}
z \amp = e^{\mbox{an antiderivative of P(x)}} \\
\amp = e^{\mbox{an antiderivative of 3}} \\
\amp = e^{3x}
\end{align*}
Now we multiply both sides of the DE by the integrating factor.
\begin{align*}
e^{3x}\cdot y' + 3e^{3x}y \amp = (2x+1)e^{3x} \nonumber \\
\underbrace{e^{3x}}_{f}\cdot\underbrace{y'}_{g'} + \underbrace{3e^{3x}}_{f'}\cdot\underbrace{y}_{g} \amp = (2x+1)e^{3x}
\end{align*}
Now we recall the product rule for derivatives: \(\dfrac{d}{dx}\Big( f \cdot g \Big) = f\cdot g' + f' \cdot g\text{.}\) We note that the two terms on the left-hand side of the equation are the result of taking the derivative of the product. Hence we can undo the product rule as follows: \(\dfrac{d}{dx}\Big(e^{3x}\cdot y \Big) = (2x+1)e^{3x}.\) We would like to integrate both sides of the equation so we can isolate \(y\text{.}\) On the right-hand side, we will need to use integration by parts. We choose \(u\) and \(dv\) as follows: \(u = 2x+1 \hspace{2cm} dv = e^{3x}\ dx \hspace{2cm} du\) by taking the derivative of \(u\) and \(v\) by taking the antiderivative of \(dv\) : \(du = 2dx \hspace{2cm} v = \frac{1}{3}e^{3x}\text{.}\) Now we proceed by integrating as follows:
\begin{align*}
\int \frac{d}{dx}\Big(e^{3x}\cdot y \Big)dx
\amp = \int (2x+1)e^{3x} dx \\
e^{3x}\cdot y \amp = (2x+1)\cdot\frac{1}{3}e^{3x} - \int \frac{1}{3}e^{3x} \cdot 2dx \\
\amp = \frac{1}{3}(2x+1)e^{3x} - \frac{2}{3}\int e^{3x}dx \\
\amp = \frac{1}{3}(2x+1)e^{3x} - \frac{2}{3}\cdot \frac{1}{3}e^{3x} + C \\
\amp = \frac{2}{3}xe^{3x} + \frac{1}{3}e^{3x} - \frac{2}{9}e^{3x} + C \\
\amp = \frac{2}{3}xe^{3x} + \frac{1}{9}e^{3x} + C \\
y \amp = \frac{2}{3}x + \frac{1}{9} + \frac{C}{e^{3x}} \\
\amp = \frac{2}{3}x + \frac{1}{9} + Ce^{-3x}
\end{align*}
Now we use the initial condition to find the value of \(\ds C \text{.}\)
\begin{align*}
y(1) \amp = 5 \\
\frac{2}{3}\cdot 1 + \frac{1}{9} + Ce^{-3\cdot 1} \amp = 5 \\
\frac{7}{9} + Ce^{-3} \amp = 5 \\
Ce^{-3} \amp = \frac{38}{9} \\
C \amp = \frac{38}{9e^{-3}} \\
\amp = \frac{38e^3}{9}
\end{align*}
Hence, the solution is \(\ds y = \frac{2}{3}x + \frac{1}{9} + \frac{38e^3}{9}e^{-3x}. \) We can use this to find \(\ds y(1.1)\text{:}\)
\begin{align*}
y(1.1) \amp = \frac{2}{3}\cdot 1.1 + \frac{1}{9} + \frac{38e^3}{9}e^{-3\cdot 1.1} \\
\amp = 3.9723
\end{align*}
Note that the two numerical approximations were \(\ds y(1.1) \approx 3.8 \) (found using \(h = 0.1 \)) and \(y(1.1) \approx 3.895 \) (found using \(\ds h = 0.05 \)). Both are reasonable approximations, but the approximation using the smaller step size is closer to the exact answer.