Paula bought 45 cookies - 3 cookies = <<45-3=42>>42 cookies.
In total, they have 42 cookies + 45 cookies = <<42+45=87>>87 cookies.
#### 87