Respuesta :

A= 3R
R = A/3
24= A + R
24= 3R + R
24 = 4R
6= R
A= 18

Roman = 6
Alex = 18

6+18 = 24

Alex has 18 pets, and Roman has 6. I found this out by doing a equation that adds up to 24 with two numbers that multiply ( 6x3 ) up to one of the other numbers so that's how I got 6 and 18.

( or something like that...)