What would I input to yield a result ike this? I can’t quite get it right

What would I input to yield a result ike this? I can’t quite get it right

What would I input to yield a result ike this? I can’t quite get it right