What Does Formal Writing Look Like?

What is an example of formal writing?

.

How do I know if my writing is formal?

What is included in formal writing?

What are the rules of formal writing?