Exact solution of two-term time-fractional Thornley's problem by operational method