ooh i got that lcm part clear out, i just want now how to reduce the form p/q