The calculated distance (air line) between Palenque and Quito is approximately 119 miles respectively 192 kilometers.
By car or train, the actual journey to Quito is certainly longer, as only the direct route (as the crow flies) between Palenque and Quito has been calculated here.