I will give you two solutions, one using the method you wanted and one that I think is a little bit better and quicker.
Your method:
$\mathbb{P}[Y \leq y ] = 1 - \mathbb{P}[Y > y]$ ( a little sketch might help now but here is how the longer piece can be greater than $y$. Either the first cut is less than $1-y$ or it is greater than $y$. Both have probability $1-y$. Hence $\mathbb{P}[Y \leq y ] = 1 - 2(1-y) = 2y - 1$
Note that this is only valid for $ \frac{1}{2} \leq y \leq 1$ as the larger piece is always greater than $\frac{1}{2}$.
Hence the CDF of $Y$ is $F_Y(y)=$ \begin{cases}
0 & y< \frac{1}{2} \\
2y-1 & \frac{1}{2}\leq y\leq 1
\end{cases}
Hence, by differentiation, the PDF of $Y$ is $f_Y(y)=$ \begin{cases}
0 & y< \frac{1}{2} \\
2 & \frac{1}{2}\leq y\leq 1
\end{cases}
And lets integrate this to yield: $\mathbb{E}[Y] = \int_{\frac{1}{2}}^1 y\cdot2 dy = \int_{\frac{1}{2}}^1 2y dy = \frac{3}{4}$
My method
Let us take advantage of symmetry it should be clear that given $X<\frac{1}{2}$ and given $X>\frac{1}{2}$ the longest side should be the same. And so as these two cases make up every possibility (and are disjoint) we have $\mathbb{E}[Y] = \mathbb{E}[Y | X \geq \frac{1}{2}]$. In the case that $X \geq \frac{1}{2}$ the longest piece is simply $X$ and the expected value of a uniform variable that is greater than $\frac{1}{2}$ is just $\frac{\frac{1}{2} +1}{2} = \frac{3}{4}$