In a basketball game, Derick scored 3 points less than twice the number of points Logan scored. Logan scored 8 points. How many points did Derick score?