# Setting up an expectation value problem?

An insurance company writes a policy to the effect that an amount of money $A$ must be paid if some event $E$ occurs within a year. If the company estimates that $E$ will occur within a year with probability $p$, what should it charge the customer so that its expected profit will be $10$ percent of $A$?

How can I set up this problem?