x over 8 = 21 over 24 equals
x/8 = 21/24 Multiply both sides of the equation by 8
8 * x/8 = 21/24 *8
x = 21/3
x=7