Megan Fox shares a very personal story in her new book of poetry.

The actress, 37, describes a miscarriage in two poems featured in Pretty Boys Are Poisonous. In a sit-down about the collection with Good Morning America, Fox talks about the miscarriage being something she experienced alongside fiancé Machine Gun Kelly (real name Colson Baker).

“I’ve never been through anything like that in my life. I have three kids, so it was very difficult for both of us and it sent us on a very wild journey together and separately…trying to navigate, ‘What does this mean?’ and ‘Why did this happen?’” she shares.

Never miss a story — sign up for PEOPLE’s free daily newsletter to stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human interest stories.

In the book, Fox writes about an ultrasound of a baby girl at 10 weeks and a day, sharing, “maybe if you hadn’t… maybe if i had…”

Elsewhere, she writes, “I want to hold your hand / hear your laugh,” and later, “but now / I have to say / goodbye.” Another line is about imagining holding the baby “as they rip you from my insides.”

“I will pay any price,” writes Fox. “Tell me please / what is the ransom / for her soul?”

LOS ANGELES, CALIFORNIA - FEBRUARY 05: (L-R) Megan Fox and Machine Gun Kelly attend the 65th GRAMMY Awards on February 05, 2023 in Los Angeles, California. (Photo by Lester Cohen/Getty Images for The Recording Academy)
LESTER COHEN/GETTY FOR THE RECORDING ACADEMY

While appearing on the Whine Down with Jana Kramer podcast, Fox’s ex-husband, Brian Austin Green, and his fiancée Sharna Burgess, 38, opened up to host Jana Kramer, 39, about how they co-parent with Fox, 37, with whom Green shares sons Noah Shannon, 11, Bodhi Ransom, 9, and Journey River, 7.

“[Megan’s] very much a part of our life, and we’ll always be connected because of the kids. So we are all family. So there’s no bad feelings there to be like that cannot be in this house,” Burgess revealed.

Megan Fox announces book
FRANZISKA KRUG/GETTY, SIMON AND SCHUSTER

“Megan is in our home,” Green said. “She’ll come sometimes when she’s dropping off or picking up the kids and she’ll come in.”

“And hang for a little bit,” Burgess added.

“And she’ll be holding Zane and it’s like, we are one big family,” Green told Kramer of his 16-month-old son he shares with Burgess. “You know, family defines itself obviously in different ways.”

“But with her, we do share so much and she now shares so much with Sharna, and they have an amazing connection and friendship and mutual respect and love for each other because of that.”