Reliability analysis for a series system with two limit functions and 𝑛 n components in each function

We have two limit states as described below:

%--------------------------------------------------
Rc = 7.35 + 8.87 - d;

Rec = Dn50 .* (fhb .* (fH0 .* ((2.2 .* d - 1.2 .* hs) ./ (d - hb)) .* fN .* fbeta .* fskew .* fgrading - ((cot(alphad .* 3.14 ./ 180) - 1.05) ./ 2 .* Dn50) .* (hb - d)));
q_sigard2012 = (sqrt(9.81 .* Hmo.^3)) .* 0.2 .* exp((-G1 .* Rc) ./ (Hmo .* gama_bb .* gama_beta));
q = 10^(-5);

g2 = q - q_sigard2012;
g1 = (B - 2 .* Dn50) - landa .* Rec;

In a series system, how can we describe the failure probability of the system if we don’t know the contribution of each component? Specifically, how should the system’s limit state function ( g ) be defined?

g = ?