Ziam has written the popular song titled "Going There," which has been recorded by the well-known performer. He currently received a royalty check for $7,000. If Ziam gets 0.5 share of the royalties and credit value is $3.50, what was the credit total that his song earned? Write the problem in the form of an equation and solve it.