I came up with the solution myself. When I drew the line, angle, and the coordiante system I saw that opposite the length of the object, the corresponding angle is always 90 degrees.
Thus, I have a 90 degree angle, a known angle, and one of the two lines' length.
This means that I can use the
law of sines.
I hope this helps anyone in the same situation.
Petter