Or search by topic
The height of the triangle is equal to $2 \tan \theta = 2t$.
Can you use the smaller right angled triangle to find $x$ in terms of $t$?