An Exact Solution of the Second-Order Differential Equation with the Fractional/Generalised Boundary Conditions