How to solve equation in Rstudio

How I can solve these two equations together to find the value of t and u in Rstudio. I want the value of u to be free from t also the value of t to be free from u. Thanks.

image
image