Here’s a slide where I try to define the answer using patterns.fraction. It doesn’t work if the negative sign gets thrown outside the fraction. My fraction pattern no longer matches. It only works if you force the negative in the numerator. Any ideas how to fix this? Simplify Negative Exponents • Activity Builder by Desmos
An additional check something like this should work:
(I didn’t really check your code to make it specific to you. It was checked using an input.)
Thank you, this worked!