We consider the K- and J-spaces generated from an N-tuple of rearrangement-invariant function spaces by using the interpolation methods associated to polygons. We compute their fundamental functions and we characterize their associate spaces. Furthermore, an application is given to interpolation of N-tuples of Marcinkiewicz spaces.