If n = number of members and y = number of joints, then for a perfect frame, n =