In a mixing bowl, beat the egg. Add the sugar, milk, salt, oil, and vanilla, and mix well.
Measure the flour by spooning it into a measuring cup. Add it over the batter. Sprinkle the baking powder over the flour and lightly combine it into just the top portion. Then mix everything together until fully incorporated.
Transfer the batter into a greased or parchment-lined 9x9 baking dish.
Streusel
Melt the butter in a microwave-safe bowl.
Stir in the brown sugar, cinnamon, and flour until evenly blended. Mix in nuts if using.
Scatter the streusel evenly over the batter. Use your finger or the handle of a wooden spoon to press parts of the topping halfway into the batter, about 12–18 times in random spots.
Bake for 25–30 minutes. The cake is ready when a toothpick inserted in the center comes out with moist crumbs (not wet batter). Avoid overbaking to keep it from drying out.
Icing (optional)
Combine butter and powdered sugar.
Add milk gradually until you reach your preferred consistency.
Drizzle lightly over the cake.
Notes
For the cake batter, spoon the flour into the measuring cup rather than scooping. For the streusel, you can scoop the flour directly with the measuring spoon.
Keep an eye on baking time—overbaking will result in a drier cake.