You will have to use trig to solve this:
The side you have is adjacent to the known angle
The side you are looking for is opposite the known angle
^^^This means you need to use tan:
tan(24) =

.445222 =

^^^input tan(24) into calculator, then multiply 12 to both sides to isolate and solve for x
5.3 ≈ x
Hope this helped!