How to Make Global Functions and Structs?

Looking forward to it - I 'm still not sure what I’m doing wrong / different from this though: