Find the ratio of the bases: 15 in / 5 in = 3
The triangle on the right side is 3 times larger.
X = 8 * 3
x = 24 inches.