((5w^2-16w+3)/(5w^2+24w-5))/((15w^2-8w+1)/(3w^2+14w-5))

You need to factor each of these expressions, and see what divides out.