Question

$$a x ^ { 2 } + ( a ^ { 2 } - 1 ) x - a$$

Evaluate

$\left(x+a\right)\left(ax-1\right)$

Expand

$ax^{2}+xa^{2}-x-a$