To generate Pascal's triangle up to n=5, we start with the first row, which is always 1. Then, for each subsequent row, we add the two numbers above it to get the new number. Here is the Pascal's triangle up to n=5:
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
Now, let's expand (2x-3y)⁵ using Pascal's triangle: