help with the sweater

i found this cute pattern for a sweater and i decided to knit the sweater and it’s a first time for me i have never
knitted i sweater i do hats and scarves and slippers nothing big anyway i feel lost it’s easy from the beginning until i reach the shoulders it says cast off 15 sts it the peg of next 4 rows so what should i do should i cast off 15 it the beg of every row of the next 4 and what about the end of the row
and after that it says cast of 14 sts of the following 4 rows again with same question should i cast off 14 sts it the beg of evrey row of the following 4 and what about the end of the row?

this is the pattern

1st row: (RS). *K4. P2. Rep from * to last 4 sts. K4. 2nd row: *P4. K2. Rep from * to last 4 sts. P4. Rep last 2 rows of (K4. P2) ribbing until work from beg measures 5" [12.5 cm], ending on a WS row and inc 1 st in center of last row. 101 (111-121-137-147-161) sts. Place marker on last row.

Change to larger needles and proceed in Basket Rib Pat as follows: 1st row: (RS). Knit. 2nd row: Purl. 3rd row: *K1. Sl1P. Rep from * to last st. K1. 4th row: *K1. Sl1Pwyif. Rep from * to last st. K1. These 4 rows form Basket Rib Pat. Cont in pat until work from beg measures 34 (34-35-35-37-37)" [86.5 (86.5-89-89-94-94) cm], ending on a WS row.
Shape shoulders: Keeping cont of pat, cast off 10 (10-12-12-1315) sts beg next 4 rows, then 7 (9-911-12-14) sts beg following 4 rows. Cast off rem 33 (35-37-45-47-45) sts.

At the end of the row you turn. That becomes the beginning of a row so you cast off. 15x4=60, 14x4=56, 45 stitches remaining. 60+56+45=161.

I sort of remember making a pattern built like this. I also remember thinking it didn’t look right. It worked out, yarn gives, it’s not going to sit like it looks like it is. Trust the pattern.

thank you so much i get it now thanks for the help