First, beat the butter, granulated sugar, and brown sugar. Then, add the egg and vanilla extract and mix.