The n-th row in Pascal's triangle tells you the coefficients of terms in the expansion of (a + b)ⁿ. Starting with n = 0,
1
1 … 1
1 … 2 … 1
1 … 3 … 3 … 1
1 … 4 … 6 … 4 … 1
1 … 5 … 10 … 10 … 5 … 1
In more concrete terms, this translates to
(x - 5y)⁵ = 1 x ⁵ (-5y)⁰ + 5 x ⁴ (-5y)¹ + 10 x ³ (-5y)² + 10 x ² (-5y)³ + 5 x ¹ (-5y)⁴ + 1 x ⁰ (-5y)⁵
Simplify:
(x - 5y)⁵ = x ⁵ - 25x ⁴y + 250x ³y ² - 1250x ²y ³ + 3125xy ⁴ - 3125y ⁵