To answer this question, you can use a factor tree, or the table thing (I forgot what it’s called.) You divide the number by one of its PRIME factors, until there is only one left. The numbers you divided it by are written as shown. Hope this helps. :)
So my understanding from this you have to make it y = mx + b so m stands for the slope there’s different ways to find it as shown in the first picture. I’ll try to make another comment since this only lets me take one picture at a time.