How would I write an acceptancerejection algorithm for this problem
See attached image.
Edit:
Someone has commented that the bounty is too low, I can't afford more so hopefully, this is less work:
Please see the second attached image for what I've done already. I'm basically just unsure if I have the value of c correct. So if anyone could correct that value (or reassure me that my workings are correct) I will give the bounty?no need for an indepth explanation of the algorithm or how to find the acceptance rate.

This bounty is low for the level of the question and the required work to answer the question.

Hi @Daniel90 please look at the update I have written if you're still interested in helping. Thank you :)
Answer
 The questioner was satisfied and accepted the answer, or
 The answer was disputed, but the judge evaluated it as 100% correct.

Hi Mathe, thank you so much for your answer  I accepted it. However, h(x)=kx is exactly what my professor wrote which makes no sense to me either  could there be any other explanation for this which would make sense to you??

It is a typo.
 answered
 332 views
 $10.00
Related Questions
 Probabilities
 Stochastic Analysis question
 Statistics Probability
 Standard Error , Pvalue
 Explain how the binomial probability equation is $\frac{n!}{x!(nx)!}(p^x)(q^x)$
 Confidence Interval,Standard Deviation,Mean
 please use statistics to explain spooky phenomenon
 Find a number for 𝛼 so f(x) is a valid probability density function