So: X5A hard plastic ear segments between U shaped pillow (the U shape supports your skull, the hard plastic goes between the U) -> then ideally something very soft under the U shaped pillow which buffers between the hard plastic of the X5A and your mattress, so the plastic never fully presses against anything firm (if the plastic of the X5A meets something firm, then your skull is meeting something firm). Very soft memory foam can work great for that, or really anything super soft.
X5A + brown noise = you can't hear alarms, you can't hear dogs barking nearby, you can't hear yelling. All normal noises vanish. So be aware of your surroundings, you won't hear a typical fire alarm either for example.
Some people try to use headphone type noise cancellation, which is mediocre at cancelling most noise. I found instead of using headphone noise cancellation, it was far better in most circumstances to use the X3A + earbuds while working - that tandem was very comfortable to wear for long periods of time. The X5A is not very comfortable, it's just max effective.