N^2=5qd for d Divide each side by 5q to isolate d: N^2/5q = 5qd/5q Cancel 5q on the right side and we get: d = N^2/5q