3Continuous Random VariablesHard6 marksA random variable X takes values between 0 and 6 only and has probability density function f(x) as shown in the diagram, where a is a constant.Given that E(X)=2, find Var(X).Show your methodTypeWriteMath0 wordsVar(X)Grade answerSolutionGrading criteria