Sam took $43 to the movie theater. If he paid for 3 tickets that each cost d dollars he will have 43-3d left how much does he have left if the tickets cost $9.00 each?