Website A
$5 rental fee + $12registration fee
Website B
$2 rental fee + $24 registration fee
Let x represent the number of videogames you have to rent, tyou can calculate the total cost for renting videogames at each website as:
[tex]C_A=12+5x[/tex][tex]C_B=24+2x[/tex]To calculate the number of videogames you have to rent for the total cost to be the same regardless the web site, you have to equal both expressions:
[tex]\begin{gathered} C_A=C_B \\ 12+5x=24+2x \end{gathered}[/tex]And now what's left is to calculate for x:
[tex]\begin{gathered} 12+5x=24+2x \\ 5x-2x=24-12 \\ 3x=12 \\ \frac{3x}{3}=\frac{12}{3} \\ x=4 \end{gathered}[/tex]You have to rent 4 videogames in each website for the total cost to be the same.