Proportional Triangles
Notice how there are two triangles shown in the image: a bigger one and a smaller one.
The smaller one has two given side lengths: 21 and 35.
The bigger one has two given side lengths as well: 36 and 35+x, x being the missing segment.
These side lengths are proportional, meaning we can write this about corresponding segments on the two triangles:

⇒ First, cross-multiply:

⇒ Combine like terms:

Thus, the missing segment is 25.