Rob has 40/5=<<40/5=8>>8 doubles baseball cards.
Rob has 8*3=<<8*3=24>>24 baseball cards.
#### 24