I was given this brain teaser in my math class as just a fun problem that we could try for extra credit. However, everyone in my class is completely lost. Here’s the information I could get from the problem: 1=5, 2=2, 3=2, 4=3, 5=2, 6=1, 7=4, 8=?
P.S. excuse the extra writing or the black line in the middle of the picture.