Tilda buys a shirt for d dollars. She uses a $50 gift card and receives the change shown.
Write an equation for this situation?