Let $N$ be the no. of trials required to get a value greater than $X/2$, $N\geq1$. Then $$P(N=n|X=x)=P(Y_1<\dfrac{x}{2},Y_2<\dfrac{x}{2},...,Y_{n-1}<\dfrac{x}{2},Y_n>\dfrac{x}{2})=(1-\dfrac{x}{2})\dfrac{x^n}{2^n}=\dfrac{x^n}{2^n}-\dfrac{x^{n+1}}{2^{n+1}}$$.
Hence, $$P(N=n)=\int_0^1P(N=n|X=x)f_X(x)dx=\int_0^1(\dfrac{x^n}{2^n}-\dfrac{x^{n+1}}{2^{n+1}})dx=\dfrac{1}{(n+1)2^n}-\dfrac{1}{(n+2)2^{n+1}}$$
So $$E(N)=\sum_{n=1}^\infty\dfrac{n}{(n+1)2^n}-\sum_{n=1}^\infty\dfrac{n}{(n+2)2^{n+1}}$$
Note that $$\sum_{n=1}^\infty\dfrac{n}{(n+1)2^n}=\sum_{n=1}^\infty\dfrac{1}{2^n}-\sum_{n=1}^\infty\dfrac{1}{(n+1)2^n}=1+2(-\log(2)+\dfrac{1}{2})=2-2\log2$$
Similarly $$\sum_{n=1}^\infty\dfrac{n}{(n+2)2^{n+1}}=\sum_{n=1}^\infty\dfrac{1}{2^{n+1}}-\sum_{n=1}^\infty\dfrac{1}{(n+2)2^n}=\dfrac{1}{2}+4(-\log2+\dfrac{1}{2}+\dfrac{1}{8})=3-4\log2$$
So $E(N)=2\log2-1$, essentially same as your answer but with an extra $-1$. So maybe I did some calculation error or supposedly made a mistake in specifying the domain of $N$.. But this is the method. Feel free to point out if you feel I've done some tiny error.