probability question for experts

hi everyone, please help me solve this mathematics probability question:

Mr. A and Mr. B decided to buy lottery one day.

They both spent the same amount of money but in a different way.

Mr. A bought 1 set of 7 numbers randomly generated. (cost: $3.50)

1. X X X X X X X (1-45 random numbers that do not repeat)

Mr. B bought 7 sets of 6 numbers randomly generated (cost: $3.50)

1. X X X X X X (1-45 random numbers that do not repeat)

2. X X X X X X (1-45 random numbers that do not repeat)

3. X X X X X X (1-45 random numbers that do not repeat)

4. X X X X X X (1-45 random numbers that do not repeat)

5. X X X X X X (1-45 random numbers that do not repeat)

6. X X X X X X (1-45 random numbers that do not repeat)

7. X X X X X X (1-45 random numbers that do not repeat)

The result of the lottery draw consists of 6 numbers (1-45).

To win, the winner must have a set with the 6 winning numbers.

Q. Since both Mr. A and Mr. B have spent equal amount of money. Do they have equal chances to win?

If not, which of them have a better probability of winning?

Please explain the full mathematical solution of each senarios with steps.

Thank you! :)