Let us begin by redrawing the diagram for clarity:
The triangle is a right-angled triangle with the following sides:
Hypothenuse side = x
Adjacent side = 12
Opposite side = 12
To solve for x, we have to apply Pythagoras theorem which is defined as:
Substituting and solving for x:
Hence, the correct option is Option B