how do I solve rational equations