Sometimes these functions popping in and out can be confusing, but just remember that the equalities you remember should not change when you do these problems. The sifting property applies here as much as it would in any situation involving an integral of the product of the dirac function and an arbitrary function: