Christian P. answered 05/27/23
Accessible STEM tutoring
You have some great answers already, but I'd like to add a quick clarification.
You are absolutely right for the first part. A child can get either chromosome from their parents, either X from the mother, and either the X or the Y from the Father. Meaning that as long as the child has received a Y chromosome from their father they could receive either X from their mother and still develop as a male.
Now, could you get both combined? Kind of. Under normal circumstances you wont get both copies from the parent (If it does happen it can be the cause of some chromosomal disorders like Down's Syndrome), but you can get pieces of both through crossing over. This can happen when cells divide through meiosis (unlike mitosis, this only happens in the sex cells). During one of the early stages (Metaphase I) pieces can be swapped between matching chromosomes. Kind of like if you traded just one shoe with a friend and went home with a mismatched pair of shoes. The resulting chromosome doesn't completely merge the two together, but does contain parts of both. If this happens a child could receive pieces from both of their mother's X chromosomes. They still only have all the pieces to make full chromosome, but the pieces could have come from either X.
Great question! I'd recommend looking up some photos of "meosis crossing over" to get a good idea of what's actually happening.