Getting root pub key form derived public keys
You cannot. It is impossible to get the parent public key from the child public keys. This is because a hashing algorithm is used in deriving the child keys and hashing algorithms are not reversible.