How do I do this and how could I learn to do these type of problems easier and faster