They are not.
The legs are both 1" diameter, but different lengths.
The legs are the same, the triangles are different sizes for 18" and 22".