The following is the graph of a quadratic friction, find the value of x when…