Can I use this instead of miralax

I was supposed to use miralax for me (7 months pregnant and so constipated

And also my daughter who is 1 was prescribed miralax once a day

They were out at the store and the delivery person brought this? Is this the same