Thanks to https://www.youtube.com/@ROBOMECHTRIX for the brief videos on both forwards and reverse kinematics Thanks to my math teacher for helping me through reversing the functions.