is it builder pattern apply to this problem?

I have the following code and I am not sure if the builder factory is the best approach to solve this code duplicity.

createA(a, b, c, e: {e1, e2}){
    return{
    a
    b
    c
    e
    }
}

createB(a, b, e: {e1, e2, e3}){
    return{
    a
    b
    e
    }
}

createC(a, e: {e1, {ee1, ee2}, e3}){
    return{
    a
    b
    e.ee1
    e.ee2
    {e1, e2}
    }
}

The problem here is that there are some params that are using in each function but not others, this is only an example, the real functions have a lot, so I prefer don’t use optional params, and as you can see with that params build a JSON object that in general is almost the same between that functions.

I thought to create one class and set the commons parameters in the constructor and the rest in a lot of functions like createA (b, c, e: {e1, e2}) and get the common params from the constructor, but probably is more common or expected another pattern so which are your recommendation for this?

Kind regards.