Lying triceps extension and hammer curls

Which head is more focus or contracts when doing lying triceps extension “Long head or lateral head? also hammer curls ” biceps long head or brachialis?

Thank you!