You are using \$I_{LINE}\$ in both.
There is no dot (junction), so the current that flows in phase must flow in transmission line. So in a star or wye, \$I_{LINE}\ =\ I_{PHASE}\$ (and \$V_{LINE}\ =\ \sqrt {3}\ V_{PHASE}\$). You show this in your answer.
In a delta, \$I_{LINE}\ =\ \sqrt {3}\ I_{PHASE}\$ (and \$V_{LINE}\ =\ V_{PHASE}\$). A component of two phase currents make up the line current. There is a dot (junction).
For line quantities:
$$P_T = \sqrt {3}\ V_{LINE}\ I_{LINE}\ cos\ θ $$
For phase quantities:
$$P_T = 3\ V_{PHASE}\ I_{PHASE}\ cos\ θ $$
So in your first answer, \$V_{L-L}\$ which is line voltage \$V_{LINE}\ =\ 415V\$, which means a \$V_{PHASE}\ = \frac {415V} {\sqrt {3}}\ =\ 239.6V\$.
$$ I_{PHASE}\ =\ \frac {V_{PHASE}} {Z} \ = \frac {239.6V} {10Ω} = 24.0A$$
$$ P\ = I_{PHASE}^2\ R = (24.0A)^2\ \times \ 8Ω\ =\ 4.59kW$$
$$ P_T\ = 3\ P = 3\ \times \ 4.59kW\ =\ 13.8kW$$
Real power (and Reactive and Apparent Power) is the same for the Wye and Delta connected loads.
Alternatively:
$$\theta = \tan \frac {6 \Omega}{8 \Omega} = 36.87°$$
Line quantities:
$$\begin{align}
P_T & = \sqrt {3}\ V_{LINE}\ I_{LINE}\ cos\ θ \\
& = \sqrt {3} \times 415V \times 24A \times cos\ 36.87° \\
& = 13.8kW
\end{align}$$
Phase quantities:
$$\begin{align}
P_T & = 3 \ V_{PHASE}\ I_{PHASE}\ cos\ θ \\
& = 3 \times 239.6V \times 24A \times cos \ 36.87° \\
& = 13.8kW
\end{align}$$