Inverse Kinematics involves calculating the joint angles needed to move the legs to a specific position, this can be achieved by using a geometrical analysis. However, this alone will not allow mechDOG to walk; for this, we will need to synchronize the motion between the legs and include so…