How do you solve 6^x+10=47?