Finding reaction rate constant for second order equation in Wolfram Mathematica
The general second order equation is
$$\frac{\mathrm d[A]}{\mathrm dt}=-k[\ce{A}][\ce{B}]\tag{1}$$
with $[\ce{A}]_0,$ $[\ce{B}]_0$ the initial amounts. At a time $t$ there are $[\ce{A}]_0-x$, and $[\ce{B}]_0-x$ remaining if amount $x$ reacts. Thus
$$\frac{\mathrm dx}{\mathrm dt}=k([\ce{A}]_0-x)([\ce{B}]_0-x).\tag{2}$$
You should be able to integrate this from $0\to x$ by using partial fractions or directly using computer algebra. The result is
$$\ln\left(\frac{[\ce{A}]_0-x}{[\ce{B}]_0-x}\right)=k([\ce{A}]_0-[\ce{B}]_0)t+\ln\left(\frac{[\ce{A}]_0}{[\ce{B}]_0}\right),\tag{3}$$
so that you can plot (as Maurice has pointed out) the left hand side vs $t$ and obtain the rate constant $k$ from the slope $k([\ce{A}]_0-[\ce{B}]_0)$ in units $\pu{dm^3 mol^-1 s^-1}.$