Retain every production α→β of P whose right-hand side contains a variable, replace every production α→w with w∈Σ∗ by α→wS′, include P′, and use S as start variable. If G and G′ are right-linear, the resulting grammar is right-linear and generates L(G)L(G′).