To rewrite any equation, you must follow the same rules that you learned earlier. For example, add the same number to or subtract the same number from both sides. To isolate Z in the original equation, you need to subtract Y from both sides.