Generally when doing proofs, it is advantageous to do some scratch work which consists of beginning with the conclusion and doing some algebra until you come to a statement that is blatantly obvious or true, which can be confirmed using definitions, theorems, whatever.
This method is known as the backwards methods. Note, that this is not a formal way to prove anything, because we are assuming that the conclusion is true and manipulating the expression until we reach a true statement. A formal proof would begin with the true statement reached in our scratch work and then proceeding to obtain the desired conclusion in the problem.
So, let us begin with the conclusion
Scratch Work
$$x+\frac{1}{x} \geq 2$$
$$\frac{x^2+1}{x} \geq 2$$
Since $x\geq1$ we multiply both sides of the above inequality to obtain
$$x^2+1 \geq 2x$$
$$x^2+1 - 2x \geq 0$$
$$\left(x-1\right)^2 \geq 0$$
Any real number that is squared is necessarily nonnegative by definition (You should be able to find that definition in your precalculus textbook, perhaps under algebra review).
Therefore, a formal proof would be
Assume $x\geq1$. Consider the quadratic $\left(x-1\right)^2 \geq 0$...
and then begin working from the bottom up to the beginning of your scratch work.