Hi, mixed salad -
Welcome to Apple's Discussions.
On the US English layout, those are the two keys to the right of the P key - unmodified is square brackets, Shifted is curly braces.
Let me switch the layout -
Okay - according to the OS 9 German keyboard layout and Key Caps, here's where they are -
Square brackets - Option-5 and Option-6
Curly braces - Option-8 and Option-9
FWIW, straight vertical is Option-7
***
Key Caps is a great little utility (it is part of a standard OS 9 install, and should be accessible in your Apple menu). It is a live rendition of the keyboard, meaning that with the Key Caps window open you can press the various modifiers (Shift, Option, Control) singly and in combination, and see what's where on the keyboard.
Key Caps also displays combination characters, those that require more than one stroke. The first characters are shown with heavy black borders; when the first has been stroked, then the available second strokes applicable to the first one are highlighted with a heavy border.