Why do you think there is a formula?
No one on this site solves problems for students. The helpers prefer to help the students solve their problems on their own.
I suggest that you read the posting guidelines, as already requested, so you know what is required to make a post.