Use Pythagoras theorem

Two triangles are similar

(6+3)*12/2 - 6*8 /2 = 30
I belive its 3.555 because i took a educational guess lol
Answer:
well... x is 35 if that's what your'e asking :)
Step-by-step explanation:
Since Anna is either grouping them as single rock or as group of 10, we need to find the maximum number of groups of 10 as follows: 38/10 = 3.8
This means that Anna can make maximum 3 groups of 10 rocks.
Based on this, the different ways to group the rocks are as follows:
- 3 groups of 10 and 8 (which are calculated as: 38-30) single rocks
- 2 groups of 10 and 18 (which are calculated as: 38-20) single rocks
- 1 group of 10 and 28 (which are calculated as: 38-10) single rocks
- 0 group of 10 and 38 (which are calculated as: 38-0) single rocks