Create an expression that can be used to find the value of x

There are two possible expressions that can help to calculate "x"
First
[tex]\begin{gathered} \text{ cos 28 = }\frac{42}{x} \\ \text{ } \end{gathered}[/tex]Second
[tex]\text{ sec 28 = }\frac{x}{42}[/tex]Both are possible to find "x".