The random variable $X$ is the number of **failures** until the first success, where the probability of success on any trial is $1/3$.
The random variable $X$ is $\ge n$ if there are $n$ failures in a row. Thus $\Pr(X\ge n)=(2/3)^n$.
As is the case for many discrete distributions (and even some continuous ones) the median is not completely determined. But $\Pr(X\ge 2)=(2/3)^2=4/9\lt 1/2$, so $\Pr(X\lt 2)=5/9$, and $\Pr(X\lt 1)=1/3$. By one of the conventions for median in this kind of situation, one would average and say the median is $(1+2)/2$.
For the $70$-th percentile, we want to find the $n$ such that $(2/3)^n\approx 0.30$. Note that $n=3$ brings us under $0.30$, while $n=2$ leaves us over $0.30$. One of the conventional answers for median is $(2+3)/2$.