Slice the beef thinly.
Cut onion, green onion, and carrot into bite-sized pieces.
Make a marinade with soy sauce, sugar, minced garlic, sesame oil, and pepper.
Marinate the beef and vegetables in the sauce for 20 minutes.
Heat a pan and stir-fry the marinated beef and vegetables.
When the beef is cooked, plate and serve.