Let's call the cost of the camera "C". Since the calculator costs $12 less, its cost would be "C - $12". Together, their cost is $87, so we can set up the equation: C + (C - $12) = $87. Now we can solve for C.
The cost of the camera, C, is $49.
The cost of the camera, C, is $49. So, the calculator would cost $37.