How can i embbed two different galleries in custom post type

Embedded two galleries in the order according to my need. Then used the get_post_galleries
to get the galleries in an array.

tech