When n is 1, $T(n)=0$, when n is 2, $T(n)=2$, and when n is greater than 2, $T(n)=2T(\frac{n}{2})+2$.
I am supposed to solve this exactly, not in big O notation. Since n is a power of 2, let $n=2^k$
$$T(n)=2T(\frac{n}{2})+2$$ $$T(n)=2T(\frac{n}{4})+4+2$$ $$T(n)=2T(\frac{n}{8})+4+4+2$$ $$...k times$$ $$T(n)=2T(\frac{n}{2^k})+4k+2=4k+2=4\log n+2$$ Does this make sense?