Messed around a bit with the operations, and suddenly I remembered studying about this in school so here it is! 1. Give the value for A (has to be positive) 2. Give the value for B (has to be positive) 3. Get your answer :D
Perfect when you need to do your homework but can't be bothered to think lol. Hope you enjoy :D! This theorem also works for some raycasting or games that includes maths or any other things.