Add egg yolks, lemon juice, vinegar, mustard, salt, sugar, vegetable oil, and olive oil to a tall, narrow bowl in the order listed. Set an immersion blender into the mixture and hold it against the bottom of the bowl; pulse until a thick, pale mixture begins to form, about 3 to 6 pulses. Continue blending until smooth and creamy.