Barry's deck of cards contains 40 blue cards and 70 red cards. Max's deck of cards contains the same number of blue cards, but the ratio of blue cards to red cards is 8:9.

Main question: How many total cards does Max's deck of cards contain?

PLEASE ANSWER TODAY OR I WON'T BE ABLE TO SOLVE IT! thank you.