A pirate buried a treasure of gold coins in an island. He buried 'd' gold coins and then buried 5 more coins the next day. If the total number of buried coins is 10, how many coins did the pirate bury the first day?