=============================================================
Explanation:
It honestly depends on the CAS program, but for GeoGebra for instance, the general format would be Division[P, Q]
Where,
As another example, let's say we want to divide x^2+5x+6 all over x^3+7 as one big fraction
We would type in Division[x^2+5x+6, x^3+7]