Solve queueing theory tasks