factorise the following completely:axsquared-2ax-apx

ax^2 - 2ax - apx.

ax(x - 2 - p).

To factorize the expression "ax^2 - 2ax - apx" completely, we need to look for common factors and then apply the appropriate factoring techniques.

First, let's factor out the common factor "ax" from each term:
ax^2 - 2ax - apx = ax(x - 2 - p)

Now, let's look for another common factor between the terms in the parentheses. In this case, we can factor out -1:
ax(x - 2 - p) = ax(-(p + 2 - x))

Now, we can rearrange the terms inside the parentheses and re-factorize if necessary:
ax(-(p + 2 - x)) = -ax(x - p - 2)

Therefore, the completely factored form of "ax^2 - 2ax - apx" is -ax(x - p - 2).