when first they are joined in parallel and second in series