The Law of Cosines is used to find the remaining parts of an oblique (non-right) triangle when either the lengths of two sides and the measure of the included angle is known (SAS) or the lengths of the three sides (SSS) are known.
The given figure has two sides and the included angle (SAS)
By law of cosines, we can solve this by

Let
a = 4.5
b = 3.4
c = x
∠C = 42°
Substitute the following and we get

Get the square root of both sides
![\begin{gathered} \sqrt[]{x^2}=\sqrt[]{31.81-30.6\cos 42\degree} \\ x=3.011605608 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/q179ubf5rm6t0tj0d4p30ncfhmg7qwmz7b.png)
Rounding off to the nearest tenth, and the value of the length side x is equal to 3.0 units.