S: fuzzy relation defined on Y and Z.
To find the composite relation R o S on X and Z:
μR o S(x,z) = maxy [min(μR(x,y), μS(y,z))]
For each x and z, find the maximum membership grade obtained by considering all possible y values and taking the minimum of the membership grades of R and S.
This gives the generalized intersection-union definition of composition of fuzzy relations. It reduces to the usual composition rule when relations are crisp.